public interface Asn1Object
Modifier and Type | Method and Description |
---|---|
int |
computeLength()
Compute the object length, which is the sum of all inner length.
|
ByteBuffer |
encode(ByteBuffer buffer)
Encode the object to a PDU.
|
int computeLength()
ByteBuffer encode(ByteBuffer buffer) throws EncoderException
buffer
- The buffer where to put the PDUEncoderException
- if the buffer can't be encodedCopyright © 2003–2018 The Apache Software Foundation. All rights reserved.