Interface IOutputSerializer

    • Method Detail

      • write

        ByteBuffer write​(List<Object> data,
                         ByteBuffer buffer)
        Serialize the data to a ByteBuffer. The caller can pass in a ByteBuffer so that the serializer can reuse the memory.
        Returns:
        A ByteBuffer contains the serialized result.