Interface StatelessMarshaler<T>

    • Method Detail

      • getBinarySerializedSize

        int getBinarySerializedSize​(T value,
                                    MarshalerContext context)
        Returns the number of bytes marshaling given value will write in proto binary format.
      • writeTo

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