public class ByteBufferOutputStream extends OutputStream
OutputStream wrapper for ByteBuffer
Currently this class is only used and available in MINA's codec module
| Constructor and Description |
|---|
ByteBufferOutputStream() |
ByteBufferOutputStream(int initialSize) |
| Modifier and Type | Method and Description |
|---|---|
ByteBuffer |
getByteBuffer() |
boolean |
isElastic() |
void |
setElastic(boolean elastic) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
close, flush, writepublic ByteBufferOutputStream()
public ByteBufferOutputStream(int initialSize)
public ByteBuffer getByteBuffer()
public boolean isElastic()
public void setElastic(boolean elastic)
public void write(byte[] b,
int off,
int len)
write in class OutputStreampublic void write(int b)
write in class OutputStreamCopyright © 2009–2013 Apache MINA Project. All rights reserved.