BufferedByteChannel, java.io.Closeable, java.lang.AutoCloseable, java.nio.channels.ChannelInputStreamWrapperChannel, OutputStreamWrapperChannelpublic abstract class BufferedByteChannelBase extends java.lang.Object implements BufferedByteChannel
| Modifier and Type | Field | Description |
|---|---|---|
protected byte[] |
bb |
|
protected java.nio.ByteBuffer |
buffer |
|
protected static int |
REUSABLE_BUFF_SIZE_MAX |
|
protected static int |
REUSABLE_BUFF_SIZE_MIN |
| Modifier | Constructor | Description |
|---|---|---|
protected |
BufferedByteChannelBase(int size) |
| Modifier and Type | Method | Description |
|---|---|---|
java.nio.ByteBuffer |
buffer() |
|
boolean |
isOpen() |
protected static final int REUSABLE_BUFF_SIZE_MIN
protected static final int REUSABLE_BUFF_SIZE_MAX
protected final byte[] bb
protected final java.nio.ByteBuffer buffer
public final java.nio.ByteBuffer buffer()
buffer in interface BufferedByteChannelpublic boolean isOpen()
isOpen in interface java.nio.channels.Channel