Interface WireTransferable.Deserializer

All Known Implementing Classes:
FrameWireTransferable.Deserializer
Enclosing interface:
WireTransferable

public static interface WireTransferable.Deserializer
  • Method Summary

    Modifier and Type
    Method
    Description
    deserialize(com.fasterxml.jackson.databind.ObjectMapper mapper, ByteBuffer theBytes)
    Deserializes a ByteBuffer into a RowsAndColumns.
  • Method Details

    • deserialize

      RowsAndColumns deserialize(com.fasterxml.jackson.databind.ObjectMapper mapper, ByteBuffer theBytes)
      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 - ObjectMapper
      theBytes - ByteBuffer to deserialize, in little-endian order
      Returns:
      RowsAndColumns object deserialized from the ByteBuffer