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, write
public 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 OutputStream
public void write(int b)
write
in class OutputStream
Copyright © 2009–2013 Apache MINA Project. All rights reserved.