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
-
Method Summary
Modifier and Type Method Description static ByteBufferOutputStreamNew(ByteBuffer targetBuffer)voidwrite(byte[] bytes, int offset, int length)voidwrite(int b)
-
Method Details
-
New
-
write
- Specified by:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-