public abstract class BufferedByteChannelBase extends java.lang.Object implements BufferedByteChannel
| Modifier and Type | Field and 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 and Description |
|---|---|
protected |
BufferedByteChannelBase(int size) |
| Modifier and Type | Method and 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