public interface Marshaller
Modifier and Type | Method and Description |
---|---|
int |
getMarshalledSize() |
void |
marshal(java.nio.ByteBuffer buff)
Packs a Pdu into the ByteBuffer.
|
void |
marshal(java.io.DataOutputStream dos) |
int |
unmarshal(java.nio.ByteBuffer buff)
Unpacks a Pdu from the underlying data.
|
int |
unmarshal(java.io.DataInputStream dis) |
int getMarshalledSize()
void marshal(java.io.DataOutputStream dos)
int unmarshal(java.io.DataInputStream dis)
void marshal(java.nio.ByteBuffer buff)
buff
- The ByteBuffer at the position to begin writingByteBuffer
int unmarshal(java.nio.ByteBuffer buff)
buff
- The ByteBuffer at the position to begin readingByteBuffer