Deprecated
Do not use.
ByteBuf#slice() and
ByteBuf#slice(int, int) instead of calling the constructor
explicitly.
| Modifier and Type | Field and Description |
|---|---|
| private int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | capacity()
Implements abstract io. |
| pack-priv final void | initLength(int
the length)length argument from the constructor.Overrides io. writerIndex(int).
|
| pack-priv final int |
| length | back to summary |
|---|---|
| private int length | |
| SlicedByteBuf | back to summary |
|---|---|
| public SlicedByteBuf(ByteBuf buffer, int index, int length) | |
| capacity | back to summary |
|---|---|
| public int capacity() Implements abstract io. Doc from io. Returns the number of bytes (octets) this buffer can contain.
| |
| initLength | back to summary |
|---|---|
| pack-priv final void initLength(int length) Overrides io. Doc from io. Called by the constructor before
| |
| length | back to summary |
|---|---|
| pack-priv final int length() Overrides io.
| |