public class ByteBufferBackedOutputStream extends OutputStream
Constructor and Description |
---|
ByteBufferBackedOutputStream() |
ByteBufferBackedOutputStream(ByteBuffer buf) |
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
getBuffer() |
void |
setBuffer(ByteBuffer buf) |
void |
write(byte[] bytes,
int off,
int len) |
void |
write(int b) |
close, flush, write
public ByteBufferBackedOutputStream()
public ByteBufferBackedOutputStream(ByteBuffer buf)
public ByteBuffer getBuffer()
public void setBuffer(ByteBuffer buf)
public void write(int b) throws IOException
write
in class OutputStream
IOException
public void write(byte[] bytes, int off, int len) throws IOException
write
in class OutputStream
IOException
Copyright © GigaSpaces.