Class MarshalledValueByteStream

  • All Implemented Interfaces:
    Closeable, Flushable, AutoCloseable, org.jboss.marshalling.ByteOutput
    Direct Known Subclasses:
    ExpandableMarshalledValueByteStream, ImmutableMarshalledValueByteStream

    public abstract class MarshalledValueByteStream
    extends OutputStream
    implements org.jboss.marshalling.ByteOutput
    A stream of bytes which can be written to, and the underlying byte array can be directly accessed. By implementing ByteOutput we avoid the need for the byte stream to be wrapped by Marshalling.createByteOutput(OutputStream)
    Since:
    5.1
    Author:
    Manik Surtani, Sanne Grinovero
    • Constructor Detail

      • MarshalledValueByteStream

        public MarshalledValueByteStream()
    • Method Detail

      • size

        public abstract int size()
      • getRaw

        public abstract byte[] getRaw()