Class ResourceMarshaler


  • public final class ResourceMarshaler
    extends MarshalerWithSize
    A Marshaler of Resource.

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

    • Field Detail

      • serializedBinary

        private final byte[] serializedBinary
      • serializedJson

        private final java.lang.String serializedJson
    • Constructor Detail

      • ResourceMarshaler

        private ResourceMarshaler​(byte[] binary,
                                  java.lang.String json)
    • Method Detail

      • writeTo

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