Interface StatelessMarshaler2<K,​V>

    • Method Detail

      • getBinarySerializedSize

        int getBinarySerializedSize​(K key,
                                    V value,
                                    MarshalerContext context)
        Returns the number of bytes this Marshaler will write.
      • writeTo

        void writeTo​(Serializer output,
                     K key,
                     V value,
                     MarshalerContext context)
              throws java.io.IOException
        Marshal given key and value using the provided Serializer.
        Throws:
        java.io.IOException