Class MarshalledValueByteStream

  • All Implemented Interfaces:
    java.io.Closeable, java.io.Flushable, java.lang.AutoCloseable
    Direct Known Subclasses:
    ExpandableMarshalledValueByteStream, ImmutableMarshalledValueByteStream

    @Deprecated
    public abstract class MarshalledValueByteStream
    extends java.io.OutputStream
    Deprecated.
    since 10.0 requires jboss-marshalling-osgi artifact to be provided at runtime.
    A stream of bytes which can be written to, and the underlying byte array can be directly accessed. If you require a ByteOutput instance, then you now need to wrap the stream via Marshalling.createByteOutput(OutputStream)
    Since:
    5.1
    Author:
    Manik Surtani, Sanne Grinovero
    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      abstract byte[] getRaw()
      Deprecated.
       
      abstract int size()
      Deprecated.
       
      • Methods inherited from class java.io.OutputStream

        close, flush, nullOutputStream, write, write, write
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MarshalledValueByteStream

        public MarshalledValueByteStream()
        Deprecated.
    • Method Detail

      • size

        public abstract int size()
        Deprecated.
      • getRaw

        public abstract byte[] getRaw()
        Deprecated.