STATE - The class of objects supported by this marshalpublic interface ByteBufferMarshal<STATE>
STATE into/from a
ByteBuffer.| Modifier and Type | Method and Description |
|---|---|
void |
marshal(STATE state,
ByteBuffer buffer)
Marshals the target into buffer.
|
STATE |
unmarshal(ByteBuffer source)
Unmarshals an instance of
STATE from source. |
void marshal(STATE state, ByteBuffer buffer)
STATE unmarshal(ByteBuffer source)
STATE from source. If the source does not have enough bytes to fully read an
instance, null must be returned.Copyright © 2002–2016 The Neo4j Graph Database Project. All rights reserved.