public interface Decorator<E>
| Modifier and Type | Method and Description |
|---|---|
int |
computeLength()
Compute the object length, which is the sum of all inner length.
|
java.nio.ByteBuffer |
encode(java.nio.ByteBuffer buffer)
Encode the object to a PDU.
|
LdapApiService |
getCodecService()
Gets the codec service responsible for managing the encoding and
decoding of the decorated objects.
|
E |
getDecorated()
Gets the object being decorated by this IDecorator.
|
E getDecorated()
int computeLength()
java.nio.ByteBuffer encode(java.nio.ByteBuffer buffer)
throws EncoderException
buffer - The buffer where to put the PDUEncoderException - if the buffer can't be encodedLdapApiService getCodecService()