Deprecated
as a consequence of SwappedByteBuf being deprecated. See corresponding docs for further information.
SwappedByteBuf for ByteBufs that is using unsafe.
| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private final AbstractByteBuf |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected abstract int | |
| protected abstract long | |
| protected abstract short | |
| protected abstract void | |
| protected abstract void | |
| protected abstract void | |
| public final char | getChar(int index)
Overrides io. index in this buffer.
|
| public final double | getDouble(int index)
Overrides io. index in this buffer.
|
| public final float | getFloat(int index)
Overrides io. index in this buffer.
|
| public final int | getInt(int index)
Overrides io. index in
this buffer.
|
| public final long | getLong(int index)
Overrides io. index in
this buffer.
|
| public final short | getShort(int index)
Overrides io. index in
this buffer.
|
| public final long | getUnsignedInt(int index)
Overrides io. index
in this buffer.
|
| public final int | getUnsignedShort(int index)
Overrides io. index in this buffer.
|
| public final ByteBuf | setChar(int index, int value)
Overrides io. index in this buffer.
|
| public final ByteBuf | setDouble(int index, double value)
Overrides io. index in this buffer.
|
| public final ByteBuf | setFloat(int index, float value)
Overrides io. index in this buffer.
|
| public final ByteBuf | setInt(int index, int value)
Overrides io. index in this buffer.
|
| public final ByteBuf | setLong(int index, long value)
Overrides io. index in this buffer.
|
| public final ByteBuf | setShort(int index, int value)
Overrides io. index in this buffer.
|
| public final ByteBuf | writeChar(int value)
Overrides io. writerIndex and increases the writerIndex by 2
in this buffer.
|
| public final ByteBuf | writeDouble(double value)
Overrides io. writerIndex and increases the writerIndex by 8
in this buffer.
|
| public final ByteBuf | writeFloat(float value)
Overrides io. writerIndex and increases the writerIndex by 4
in this buffer.
|
| public final ByteBuf | writeInt(int value)
Overrides io. writerIndex
and increases the writerIndex by 4 in this buffer.
|
| public final ByteBuf | writeLong(long value)
Overrides io. writerIndex and increases the writerIndex by 8
in this buffer.
|
| public final ByteBuf | writeShort(int value)
Overrides io. writerIndex and increases the writerIndex by 2
in this buffer.
|
| nativeByteOrder | back to summary |
|---|---|
| private final boolean nativeByteOrder | |
| wrapped | back to summary |
|---|---|
| private final AbstractByteBuf wrapped | |
| AbstractUnsafeSwappedByteBuf | back to summary |
|---|---|
| pack-priv AbstractUnsafeSwappedByteBuf(AbstractByteBuf buf) | |
| _getInt | back to summary |
|---|---|
| protected abstract int _getInt(AbstractByteBuf wrapped, int index) | |
| _getLong | back to summary |
|---|---|
| protected abstract long _getLong(AbstractByteBuf wrapped, int index) | |
| _getShort | back to summary |
|---|---|
| protected abstract short _getShort(AbstractByteBuf wrapped, int index) | |
| _setInt | back to summary |
|---|---|
| protected abstract void _setInt(AbstractByteBuf wrapped, int index, int value) | |
| _setLong | back to summary |
|---|---|
| protected abstract void _setLong(AbstractByteBuf wrapped, int index, long value) | |
| _setShort | back to summary |
|---|---|
| protected abstract void _setShort(AbstractByteBuf wrapped, int index, short value) | |
| getChar | back to summary |
|---|---|
| public final char getChar(int index) Overrides io. Doc from io. Gets a 2-byte UTF-16 character at the specified absolute
| |
| getDouble | back to summary |
|---|---|
| public final double getDouble(int index) Overrides io. Doc from io. Gets a 64-bit floating point number at the specified absolute
| |
| getFloat | back to summary |
|---|---|
| public final float getFloat(int index) Overrides io. Doc from io. Gets a 32-bit floating point number at the specified absolute
| |
| getInt | back to summary |
|---|---|
| public final int getInt(int index) Overrides io. Doc from io. Gets a 32-bit integer at the specified absolute
| |
| getLong | back to summary |
|---|---|
| public final long getLong(int index) Overrides io. Doc from io. Gets a 64-bit long integer at the specified absolute
| |
| getShort | back to summary |
|---|---|
| public final short getShort(int index) Overrides io. Doc from io. Gets a 16-bit short integer at the specified absolute
| |
| getUnsignedInt | back to summary |
|---|---|
| public final long getUnsignedInt(int index) Overrides io. Doc from io. Gets an unsigned 32-bit integer at the specified absolute
| |
| getUnsignedShort | back to summary |
|---|---|
| public final int getUnsignedShort(int index) Overrides io. Doc from io. Gets an unsigned 16-bit short integer at the specified absolute
| |
| setChar | back to summary |
|---|---|
| public final ByteBuf setChar(int index, int value) Overrides io. Doc from io. Sets the specified 2-byte UTF-16 character at the specified absolute
| |
| setDouble | back to summary |
|---|---|
| public final ByteBuf setDouble(int index, double value) Overrides io. Doc from io. Sets the specified 64-bit floating-point number at the specified
absolute
| |
| setFloat | back to summary |
|---|---|
| public final ByteBuf setFloat(int index, float value) Overrides io. Doc from io. Sets the specified 32-bit floating-point number at the specified
absolute
| |
| setInt | back to summary |
|---|---|
| public final ByteBuf setInt(int index, int value) Overrides io. Doc from io. Sets the specified 32-bit integer at the specified absolute
| |
| setLong | back to summary |
|---|---|
| public final ByteBuf setLong(int index, long value) Overrides io. Doc from io. Sets the specified 64-bit long integer at the specified absolute
| |
| setShort | back to summary |
|---|---|
| public final ByteBuf setShort(int index, int value) Overrides io. Doc from io. Sets the specified 16-bit short integer at the specified absolute
| |
| writeChar | back to summary |
|---|---|
| public final ByteBuf writeChar(int value) Overrides io. Doc from io. Sets the specified 2-byte UTF-16 character at the current
| |
| writeDouble | back to summary |
|---|---|
| public final ByteBuf writeDouble(double value) Overrides io. Doc from io. Sets the specified 64-bit floating point number at the current
| |
| writeFloat | back to summary |
|---|---|
| public final ByteBuf writeFloat(float value) Overrides io. Doc from io. Sets the specified 32-bit floating point number at the current
| |
| writeInt | back to summary |
|---|---|
| public final ByteBuf writeInt(int value) Overrides io. Doc from io. Sets the specified 32-bit integer at the current
| |
| writeLong | back to summary |
|---|---|
| public final ByteBuf writeLong(long value) Overrides io. Doc from io. Sets the specified 64-bit long integer at the current
| |
| writeShort | back to summary |
|---|---|
| public final ByteBuf writeShort(int value) Overrides io. Doc from io. Sets the specified 16-bit short integer at the current
| |