Interface WireTransferable.Deserializer
- All Known Implementing Classes:
FrameWireTransferable.Deserializer
- Enclosing interface:
- WireTransferable
public static interface WireTransferable.Deserializer
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize(com.fasterxml.jackson.databind.ObjectMapper mapper, ByteBuffer theBytes) Deserializes a ByteBuffer into a RowsAndColumns.
-
Method Details
-
deserialize
Deserializes a ByteBuffer into a RowsAndColumns. The deserialized object owns the passed-in buffer as well as the data it points to. It is safe for the deserializer to mutate the buffer, retain a reference to it, etc.- Parameters:
mapper- ObjectMappertheBytes- ByteBuffer to deserialize, in little-endian order- Returns:
- RowsAndColumns object deserialized from the ByteBuffer
-