public final class IntegerDecoder extends Object
Constructor and Description |
---|
IntegerDecoder() |
public IntegerDecoder()
public static int parse(BerValue value, int min, int max) throws IntegerDecoderException
value
- The Value containing the byte[] to parsemin
- Lowest value allowed, includedmax
- Highest value allowed, includedIntegerDecoderException
- Thrown if the byte[] does not contains an integerpublic static int parse(BerValue value) throws IntegerDecoderException
value
- The byte buffer to parseIntegerDecoderException
- Thrown if the byte stream does not contains an integerCopyright © 2003–2014 The Apache Software Foundation. All rights reserved.