ByteBuffer |
ByteBuffer.append(byte b) |
Appends a single byte to the ByteBuffer.
|
ByteBuffer |
ByteBuffer.append(byte[] buffer) |
Appends the specified byte array to the buffer.
|
ByteBuffer |
ByteBuffer.append(byte[] buffer,
int length) |
Appends the specified portion of the byte array to the buffer.
|
ByteBuffer |
ByteBuffer.append(byte[] buffer,
int offset,
int length) |
Appends a portion of the given byte array to the current storage buffer.
|
ByteBuffer |
ByteBuffer.append(char c) |
Appends the specified character to this buffer.
|
ByteBuffer |
ByteBuffer.append(long value) |
Appends the string representation of a specified long value to the current ByteBuffer.
|
ByteBuffer |
ByteBuffer.append(ByteBuffer byteBuffer) |
Appends the contents of the provided ByteBuffer to the current buffer.
|
ByteBuffer |
ByteBuffer.append(ValuePtr value) |
Appends the given value to the buffer.
|
ByteBuffer |
ByteBuffer.append(String str) |
Appends the content of the provided string to the ByteBuffer using ISO-8859-1 encoding.
|
ByteBuffer |
ByteBuffer.append(String str,
Charset charset) |
Appends the specified string to the buffer using the given charset for encoding.
|
ByteBuffer |
ByteBuffer.appendBase64(byte[] buffer) |
Appends Base64 representation of all bytes from the provided byte array.
|
ByteBuffer |
ByteBuffer.appendBase64(byte[] buffer,
int offset,
int length) |
Appends Base64 representation of a byte array range.
|
ByteBuffer |
ByteBuffer.appendCheckSum(int checkSum) |
Appends a checksum value to the current buffer by converting it into three bytes.
|
ByteBuffer |
ByteBuffer.clear() |
Clears the current buffer by resetting its size to zero.
|
ByteBuffer |
ByteBuffer.copy() |
Creates a new ByteBuffer that is a copy of the current ByteBuffer.
|
ByteBuffer |
ByteBuffer.erase(int length) |
Erases a portion of the buffer by specifying the length to erase.
|
ByteBuffer |
ByteBuffer.erase(int length,
int startPsn) |
Erases a portion of the ByteBuffer starting from the specified position
and of the specified length.
|
ByteBuffer |
ByteBuffer.incLength(int size) |
Increases the length of the current buffer by the specified size.
|
ByteBuffer |
ByteBuffer.insert(byte[] bytes,
int pos) |
Inserts the specified byte array into a buffer at the given position.
|
ByteBuffer |
ByteBuffer.insert(byte[] buffer,
int length,
int startPsn) |
Inserts a specified range of bytes from the provided buffer into a ByteBuffer starting at the given position.
|
ByteBuffer |
ByteBuffer.insert(byte[] buffer,
int offset,
int length,
int startPsn) |
Inserts a portion of the provided byte array into the internal storage at the specified position.
|
ByteBuffer |
ByteBuffer.insert(byte b,
int pos) |
Inserts a byte at the specified position in the buffer.
|
ByteBuffer |
ByteBuffer.insert(byte b,
int pos,
int times) |
Inserts the specified byte into the buffer multiple times at the given position.
|
ByteBuffer |
ByteBuffer.insert(char c,
int pos) |
Inserts the given character at the specified position in the ByteBuffer.
|
ByteBuffer |
ByteBuffer.insert(long l,
int pos) |
Inserts the string representation of the specified long value at the given position.
|
ByteBuffer |
ByteBuffer.insert(ByteBuffer buffer,
int startPsn) |
Inserts content from the given ByteBuffer into a specific position.
|
ByteBuffer |
ByteBuffer.insert(String s,
int pos) |
Inserts the specified string into a byte buffer at the given position.
|
ByteBuffer |
ByteBuffer.insert(String s,
int pos,
Charset charset) |
Inserts the byte representation of the provided string at the specified position
in the byte buffer using the given character set for encoding.
|
ByteBuffer |
ByteBuffer.overwrite(byte[] buffer,
int length) |
Overwrites a portion of the buffer with the given byte array starting at a default offset of 0.
|
ByteBuffer |
ByteBuffer.overwrite(int startPsn,
byte[] buffer,
int length) |
Overwrites the content at the specified position in a ByteBuffer with the provided byte array.
|
ByteBuffer |
ByteBuffer.overwrite(int startPsn,
byte[] buffer,
int length,
int offset) |
Overwrites a portion of the buffer starting at the specified position with the
provided byte array.
|
ByteBuffer |
ByteBuffer.overwrite(ByteBuffer byteBuffer) |
Overwrites the current buffer with the contents of the provided ByteBuffer.
|
ByteBuffer |
ByteBuffer.reserve(int expectedCapacity) |
Reserves the specified capacity in the storage.
|
ByteBuffer |
ByteBuffer.reserveSpace(int space) |
Reserves additional space in the ByteBuffer.
|
ByteBuffer |
ByteBuffer.resize(int newSize) |
Resizes the ByteBuffer to the specified new size.
|
ByteBuffer |
ByteBuffer.reverse() |
Reverses the order of the elements in the buffer within the specified
range, starting from the beginning to the current size.
|
ByteBuffer |
ByteBuffer.reverse(int startIdx) |
Reverses the elements in the specified range within this byte buffer.
|
ByteBuffer |
ByteBuffer.reverse(int startIdx,
int endIdx) |
Reverses the bytes in the specified range of the storage array.
|
ByteBuffer |
ByteBuffer.subBuffer(int offset) |
Creates a new sub-buffer starting at the specified offset and extending to the end of the current buffer.
|
ByteBuffer |
ByteBuffer.subBuffer(int offset,
int length) |
Creates a new ByteBuffer that is a subsection of the original buffer.
|
ByteBuffer |
ByteBuffer.write(OutputStream outputStream) |
Writes the contents of the internal storage buffer to the specified OutputStream.
|