public interface Asn1BerDecoder
Modifier and Type | Method and Description |
---|---|
Asn1Type |
decode(Asn1BerDecodeBuffer buffer,
boolean explicit,
int implicitLength)
Decode value from given buffer.
|
Asn1Type decode(Asn1BerDecodeBuffer buffer, boolean explicit, int implicitLength) throws Asn1Exception, java.io.IOException
buffer
- The buffer to decode from.explicit
- if true
, the value to be decoded is preceded
by a tag and length, which must first be decoded. Otherwise,
implicitLength provides the length of the value to be decoded.implicitLength
- The length of the value to be decoded if explicit
was given as false
.java.io.IOException
- for I/O exceptionAsn1Exception