Class MarshalledValueByteStream

java.lang.Object
java.io.OutputStream
org.infinispan.io.MarshalledValueByteStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable
Direct Known Subclasses:
ExpandableMarshalledValueByteStream, ImmutableMarshalledValueByteStream

@Deprecated(forRemoval=true) public abstract class MarshalledValueByteStream extends OutputStream
Deprecated, for removal: This API element is subject to removal in a future version.
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
  • Constructor Details

    • MarshalledValueByteStream

      public MarshalledValueByteStream()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • size

      public abstract int size()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getRaw

      public abstract byte[] getRaw()
      Deprecated, for removal: This API element is subject to removal in a future version.