Package org.infinispan.io
Class MarshalledValueByteStream
java.lang.Object
java.io.OutputStream
org.infinispan.io.MarshalledValueByteStream
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
- Direct Known Subclasses:
ExpandableMarshalledValueByteStream
,ImmutableMarshalledValueByteStream
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 Summary
ConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Methods inherited from class java.io.OutputStream
close, flush, nullOutputStream, write, write, write
-
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.
-