@Deprecated
public class ByteBufferOutputStream
extends java.io.OutputStream
| Modifier and Type | Field and Description |
|---|---|
(package private) static ByteBufferFactory |
_defaultFactory
Deprecated.
|
(package private) ByteBufferFactory |
_factory
Deprecated.
|
(package private) java.util.List<java.nio.ByteBuffer> |
_lst
Deprecated.
|
| Constructor and Description |
|---|
ByteBufferOutputStream()
Deprecated.
|
ByteBufferOutputStream(ByteBufferFactory factory)
Deprecated.
|
ByteBufferOutputStream(int size)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
private java.nio.ByteBuffer |
_need(int space)
Deprecated.
|
void |
close()
Deprecated.
|
void |
flush()
Deprecated.
|
java.util.List<java.nio.ByteBuffer> |
getBuffers()
Deprecated.
|
java.util.List<java.nio.ByteBuffer> |
getBuffers(boolean flip)
Deprecated.
|
void |
write(byte[] b)
Deprecated.
|
void |
write(byte[] b,
int off,
int len)
Deprecated.
|
void |
write(int b)
Deprecated.
|
final java.util.List<java.nio.ByteBuffer> _lst
final ByteBufferFactory _factory
static final ByteBufferFactory _defaultFactory
public ByteBufferOutputStream()
public ByteBufferOutputStream(int size)
public ByteBufferOutputStream(ByteBufferFactory factory)
public void close()
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.OutputStreampublic void flush()
flush in interface java.io.Flushableflush in class java.io.OutputStreampublic void write(byte[] b)
write in class java.io.OutputStreampublic void write(byte[] b,
int off,
int len)
write in class java.io.OutputStreampublic void write(int b)
write in class java.io.OutputStreampublic java.util.List<java.nio.ByteBuffer> getBuffers()
public java.util.List<java.nio.ByteBuffer> getBuffers(boolean flip)
private java.nio.ByteBuffer _need(int space)