| Modifier and Type | Field and Description |
|---|---|
| private final long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected byte | |
| protected int | |
| protected long | |
| protected short | |
| protected int | |
| private long | |
| public ByteBuf | copy(int index, int length)
Overrides io. |
| public ByteBuf | getBytes(int index, ByteBuf dst, int
the first index of the destination dstIndex, int the number of bytes to transfer length)Overrides io. index.
|
| public ByteBuf | getBytes(int index, byte[] dst, int
the first index of the destination dstIndex, int the number of bytes to transfer length)Overrides io. index.
|
| public boolean | hasMemoryAddress()
Overrides io. true if and only if this buffer has a reference to the low-level memory address that points
to the backing data.
|
| public long | memoryAddress()
Overrides io. |
| memoryAddress | back to summary |
|---|---|
| private final long memoryAddress | |
| ReadOnlyUnsafeDirectByteBuf | back to summary |
|---|---|
| pack-priv ReadOnlyUnsafeDirectByteBuf(ByteBufAllocator allocator, ByteBuffer byteBuffer) | |
| _getByte | back to summary |
|---|---|
| protected byte _getByte(int index) Overrides io.
| |
| _getInt | back to summary |
|---|---|
| protected int _getInt(int index) Overrides io.
| |
| _getLong | back to summary |
|---|---|
| protected long _getLong(int index) Overrides io.
| |
| _getShort | back to summary |
|---|---|
| protected short _getShort(int index) Overrides io.
| |
| _getUnsignedMedium | back to summary |
|---|---|
| protected int _getUnsignedMedium(int index) Overrides io.
| |
| addr | back to summary |
|---|---|
| private long addr(int index) | |
| copy | back to summary |
|---|---|
| public ByteBuf copy(int index, int length) Overrides io. Doc from io. Returns a copy of this buffer's sub-region. Modifying the content of
the returned buffer or this buffer does not affect each other at all.
This method does not modify
| |
| getBytes | back to summary |
|---|---|
| public ByteBuf getBytes(int index, ByteBuf dst, int dstIndex, int length) Overrides io. Doc from io. Transfers this buffer's data to the specified destination starting at
the specified absolute
| |
| getBytes | back to summary |
|---|---|
| public ByteBuf getBytes(int index, byte[] dst, int dstIndex, int length) Overrides io. Doc from io. Transfers this buffer's data to the specified destination starting at
the specified absolute
| |
| hasMemoryAddress | back to summary |
|---|---|
| public boolean hasMemoryAddress() Overrides io. Doc from io. Returns
| |
| memoryAddress | back to summary |
|---|---|
| public long memoryAddress() Overrides io. Doc from io. Returns the low-level memory address that point to the first byte of ths backing data.
| |