References Deprecated
ClusterSerializable is deprecated or references (maybe indirectly) at least one deprecated element.
See corresponding docs for further information.
A buffer is a sequence of zero or more bytes that can read from or written to and which expands automatically as necessary to accommodate any bytes written to it. You can perhaps think of a buffer as smart byte array.
Please consult the documentation for more information on buffers.
| Modifier and Type | Method and Description |
|---|---|
| public Buffer | appendBuffer(Buffer buff)
References Deprecated
Buffer is deprecated or references (maybe indirectly) at least one deprecated element.
Appends the specified |
| public Buffer | appendBuffer(Buffer buff, int offset, int len)
References Deprecated
Buffer is deprecated or references (maybe indirectly) at least one deprecated element.
Appends the specified |
| public Buffer | appendByte(byte b)
References Deprecated
Buffer is deprecated or references (maybe indirectly) at least one deprecated element.
Appends the specified |
| public Buffer | appendBytes(byte[] bytes)
References Deprecated
Buffer is deprecated or references (maybe indirectly) at least one deprecated element.
Appends the specified |
| public Buffer | appendBytes(byte[] bytes, int offset, int len)
References Deprecated
Buffer is deprecated or references (maybe indirectly) at least one deprecated element.
Appends the specified number of bytes from |
| public Buffer | appendDouble(double d)
References Deprecated
Buffer is deprecated or references (maybe indirectly) at least one deprecated element.
Appends the specified |
| public Buffer | appendFloat(float f)
References Deprecated
Buffer is deprecated or references (maybe indirectly) at least one deprecated element.
Appends the specified |
| public Buffer | |
| public Buffer | appendIntLE(int i)
References Deprecated
Buffer is deprecated or references (maybe indirectly) at least one deprecated element.
Appends the specified |
| public Buffer | appendLong(long l)
References Deprecated
Buffer is deprecated or references (maybe indirectly) at least one deprecated element.
Appends the specified |
| public Buffer | appendLongLE(long l)
References Deprecated
Buffer is deprecated or references (maybe indirectly) at least one deprecated element.
Appends the specified |
| public Buffer | appendMedium(int i)
References Deprecated
Buffer is deprecated or references (maybe indirectly) at least one deprecated element.
Appends the specified 24bit |
| public Buffer | appendMediumLE(int i)
References Deprecated
Buffer is deprecated or references (maybe indirectly) at least one deprecated element.
Appends the specified 24bit |
| public Buffer | appendShort(short s)
References Deprecated
Buffer is deprecated or references (maybe indirectly) at least one deprecated element.
Appends the specified |
| public Buffer | appendShortLE(short s)
References Deprecated
Buffer is deprecated or references (maybe indirectly) at least one deprecated element.
Appends the specified |
| public Buffer | appendString(String str, String enc)
References Deprecated
Buffer is deprecated or references (maybe indirectly) at least one deprecated element.
Appends the specified |
| public Buffer | appendString(String str)
References Deprecated
Buffer is deprecated or references (maybe indirectly) at least one deprecated element.
Appends the specified |
| public Buffer | appendUnsignedByte(short b)
References Deprecated
Buffer is deprecated or references (maybe indirectly) at least one deprecated element.
Appends the specified unsigned |
| public Buffer | appendUnsignedInt(long i)
References Deprecated
Buffer is deprecated or references (maybe indirectly) at least one deprecated element.
Appends the specified unsigned |
| public Buffer | appendUnsignedIntLE(long i)
References Deprecated
Buffer is deprecated or references (maybe indirectly) at least one deprecated element.
Appends the specified unsigned |
| public Buffer | appendUnsignedShort(int s)
References Deprecated
Buffer is deprecated or references (maybe indirectly) at least one deprecated element.
Appends the specified unsigned |
| public Buffer | appendUnsignedShortLE(int s)
References Deprecated
Buffer is deprecated or references (maybe indirectly) at least one deprecated element.
Appends the specified unsigned |
| public static Buffer | |
| public static Buffer | |
| public static Buffer | |
| public static Buffer | |
| public static Buffer | |
| public static Buffer | |
| public Buffer | copy()
Redeclares as abstract: io.
References Deprecated
Buffer is deprecated or references (maybe indirectly) at least one deprecated element.
Returns a copy of the entire Buffer. |
| public Buffer | getBuffer(int start, int end)
References Deprecated
Buffer is deprecated or references (maybe indirectly) at least one deprecated element.
Returns a copy of a sub-sequence the Buffer as a |
| public byte | |
| public ByteBuf | |
| public byte[] | |
| public byte[] | getBytes(int start, int end)
Returns a copy of a sub-sequence the Buffer as a |
| public Buffer | |
| public Buffer | |
| public Buffer | |
| public Buffer | getBytes(int start, int end, byte[]
the destination byte array dst, int dstIndex)
References Deprecated
Buffer is deprecated or references (maybe indirectly) at least one deprecated element.
Transfers the content of the Buffer starting at position |
| public double | |
| public float | |
| public int | |
| public int | getIntLE(int pos)
Gets a 32-bit integer at the specified absolute |
| public long | |
| public long | getLongLE(int pos)
Gets a 64-bit long integer at the specified absolute |
| public int | |
| public int | getMediumLE(int pos)
Gets a 24-bit medium integer at the specified absolute |
| public short | |
| public short | getShortLE(int pos)
Gets a 16-bit short integer at the specified absolute |
| public String | |
| public String | getString(int start, int end)
Returns a copy of a sub-sequence the Buffer as a |
| public short | |
| public long | |
| public long | getUnsignedIntLE(int pos)
Returns the unsigned |
| public int | getUnsignedMedium(int pos)
Gets an unsigned 24-bit medium integer at the specified absolute |
| public int | getUnsignedMediumLE(int pos)
Gets an unsigned 24-bit medium integer at the specified absolute |
| public int | |
| public int | getUnsignedShortLE(int pos)
Gets an unsigned 16-bit short integer at the specified absolute |
| public int | |
| public Buffer | |
| public Buffer | |
| public Buffer | |
| public Buffer | setBytes(int pos, ByteBuffer b)
References Deprecated
Buffer is deprecated or references (maybe indirectly) at least one deprecated element.
Sets the bytes at position |
| public Buffer | |
| public Buffer | |
| public Buffer | |
| public Buffer | |
| public Buffer | |
| public Buffer | |
| public Buffer | |
| public Buffer | |
| public Buffer | |
| public Buffer | setMediumLE(int pos, int i)
References Deprecated
Buffer is deprecated or references (maybe indirectly) at least one deprecated element.
Sets the 24bit |
| public Buffer | |
| public Buffer | setShortLE(int pos, short s)
References Deprecated
Buffer is deprecated or references (maybe indirectly) at least one deprecated element.
Sets the |
| public Buffer | |
| public Buffer | |
| public Buffer | setUnsignedByte(int pos, short b)
References Deprecated
Buffer is deprecated or references (maybe indirectly) at least one deprecated element.
Sets the unsigned |
| public Buffer | setUnsignedInt(int pos, long i)
References Deprecated
Buffer is deprecated or references (maybe indirectly) at least one deprecated element.
Sets the unsigned |
| public Buffer | setUnsignedIntLE(int pos, long i)
References Deprecated
Buffer is deprecated or references (maybe indirectly) at least one deprecated element.
Sets the unsigned |
| public Buffer | setUnsignedShort(int pos, int s)
References Deprecated
Buffer is deprecated or references (maybe indirectly) at least one deprecated element.
Sets the unsigned |
| public Buffer | setUnsignedShortLE(int pos, int s)
References Deprecated
Buffer is deprecated or references (maybe indirectly) at least one deprecated element.
Sets the unsigned |
| public Buffer | |
| public Buffer | |
| public default Object | |
| public JsonArray | toJsonArray()
References Deprecated
JsonArray is deprecated or references (maybe indirectly) at least one deprecated element.
Returns a |
| public JsonObject | toJsonObject()
References Deprecated
JsonObject is deprecated or references (maybe indirectly) at least one deprecated element.
Returns a |
| public default Object | Returns: a Json value which can be aJsonArray, JsonObject, String, ... if the buffer contains an array, object, string, ...etcReturns a Json value representation of this buffer's content. |
| public String | |
| public String | |
| public String |