|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.api.asn1.ber.tlv.LongDecoder
public final class LongDecoder
Parse and decode a Long value.
| Constructor Summary | |
|---|---|
LongDecoder()
|
|
| Method Summary | |
|---|---|
static long |
parse(BerValue value)
Parse a byte buffer and send back an integer |
static long |
parse(BerValue value,
long min,
long max)
Parse a byte buffer and send back an long, controlling that this number is in a specified interval. |
static long |
parseLong(BerValue value)
Helper method used to parse the long. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LongDecoder()
| Method Detail |
|---|
public static long parse(BerValue value,
long min,
long max)
throws LongDecoderException
value - The byte buffer to parsemin - Lowest value allowed, includedmax - Highest value allowed, included
LongDecoderException - Thrown if the byte stream does not contains an integer
public static long parse(BerValue value)
throws LongDecoderException
value - The byte buffer to parse
LongDecoderException - Thrown if the byte stream does not contains an integer
public static long parseLong(BerValue value)
throws LongDecoderException
LongDecoderException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||