public final class LongDecoder extends Object
Constructor and Description |
---|
LongDecoder() |
public 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 parseLongDecoderException
- Thrown if the byte stream does not contains an integerCopyright © 2003-2014 The Apache Software Foundation. All Rights Reserved.