public class ByteBufferBackedOutputStream
extends java.io.OutputStream
OutputStream implementation that appends content
written in given ByteBuffer instance.| Modifier and Type | Field and Description |
|---|---|
protected java.nio.ByteBuffer |
_b |
| Constructor and Description |
|---|
ByteBufferBackedOutputStream(java.nio.ByteBuffer buf) |
public ByteBufferBackedOutputStream(java.nio.ByteBuffer buf)
public void write(int b)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic void write(byte[] bytes,
int off,
int len)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOException