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.
|
Modifier and Type | Method and Description |
---|---|
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
close, flush, write
final ByteBuffer buffer
public ByteBufferOutputStream(ByteBuffer buffer)
buffer
- ByteBuffer to wrap.public void write(int b)
write
in class OutputStream
public void write(byte[] b, int off, int len)
write
in class OutputStream
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.