Class StringAnyValueMarshaler


  • final class StringAnyValueMarshaler
    extends MarshalerWithSize
    A Marshaler of string-valued AnyValue.

    This class is internal and is hence not for public use. Its APIs are unstable and can change at any time.

    • Field Detail

      • valueUtf8

        private final byte[] valueUtf8
    • Constructor Detail

      • StringAnyValueMarshaler

        private StringAnyValueMarshaler​(byte[] valueUtf8)
    • Method Detail

      • writeTo

        public void writeTo​(Serializer output)
                     throws java.io.IOException
        Specified by:
        writeTo in class Marshaler
        Throws:
        java.io.IOException
      • calculateSize

        private static int calculateSize​(byte[] valueUtf8)