
public class ByteBufferOutputStream extends OutputStream
| Modifier and Type | Field and Description |
|---|---|
(package private) ByteBuffer |
buffer
The actual buffer we're using.
|
| Constructor and Description |
|---|
ByteBufferOutputStream(ByteBuffer buffer)
Constructor.
|
final ByteBuffer buffer
public ByteBufferOutputStream(ByteBuffer buffer)
buffer - ByteBuffer to wrap.public void write(int b)
write in class OutputStreampublic void write(byte[] b,
int off,
int len)
write in class OutputStream