public interface RpcMarshalable
Modifier and Type | Method and Description |
---|---|
void |
marshal(java.nio.ByteBuffer buf)
Marshal the associated object onto the passed-in ByteBuffer.
|
void marshal(java.nio.ByteBuffer buf) throws java.nio.BufferOverflowException
buf
- non-null ByteBuffer; should be big enough to take the marshaled objectjava.nio.BufferOverflowException
- if the passed-in buffer wasn't big enough