public class LongDecoder extends Object
| Constructor and Description |
|---|
LongDecoder() |
public static long parse(Value value, long min, long max) throws LongDecoderException
value - The byte buffer to parsemin - Lowest value allowed, includedmax - Highest value allowed, includedLongDecoderException - Thrown if the byte stream does not contains an integerpublic static long parse(Value value) throws LongDecoderException
value - The byte buffer to parseIntegerDecoderException - Thrown if the byte stream does not contains an integerLongDecoderExceptionCopyright © 2003-2012 Apache Software Foundation. All Rights Reserved.