public class ByteBufferBackedOutputStream extends OutputStream
OutputStream implementation that appends content
written in given ByteBuffer instance.| Modifier and Type | Field and Description |
|---|---|
protected ByteBuffer |
_buffer |
| Constructor and Description |
|---|
ByteBufferBackedOutputStream(ByteBuffer buf) |
protected final ByteBuffer _buffer
public ByteBufferBackedOutputStream(ByteBuffer buf)
public void write(int b)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] bytes,
int off,
int len)
throws IOException
write in class OutputStreamIOExceptionCopyright © 2012-2013 FasterXML. All Rights Reserved.