Class ByteBufferBackedOutputStream
java.lang.Object
java.io.OutputStream
com.gigaspaces.internal.space.transport.xnio.ByteBufferBackedOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
- Since:
- 16.0
- Author:
- Niv Ingberg
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetBuffer(ByteBuffer buf) voidwrite(byte[] bytes, int off, int len) voidwrite(int b) Methods inherited from class java.io.OutputStream
close, flush, nullOutputStream, write
-
Constructor Details
-
ByteBufferBackedOutputStream
public ByteBufferBackedOutputStream() -
ByteBufferBackedOutputStream
-
-
Method Details
-
getBuffer
-
setBuffer
-
write
- Specified by:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-