Package one.microstream.io
Class ByteBufferOutputStream
java.lang.Object
java.io.OutputStream
one.microstream.io.ByteBufferOutputStream
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
public final class ByteBufferOutputStream extends OutputStream
-
Constructor Summary
Constructors Constructor Description ByteBufferOutputStream()
-
Method Summary
Modifier and Type Method Description static ByteBufferOutputStream
New(ByteBuffer targetBuffer)
void
write(byte[] bytes, int offset, int length)
void
write(int b)
-
Constructor Details
-
ByteBufferOutputStream
public ByteBufferOutputStream()
-
-
Method Details
-
New
-
write
- Specified by:
write
in classOutputStream
- Throws:
IOException
-
write
- Overrides:
write
in classOutputStream
- Throws:
IOException
-