- from
Wraps a byte array into a ByteBuffer. The new buffer will be backed by the given
byte array; that is
- toByteArray
Returns the byte array that backs this buffer.
- allocate
Allocates a new ByteBuffer of the specified capacity. The new buffer's position
will be zero, its li
- get
Relative get method. Reads the byte at this buffer's current position, and then
increments the posit
- getUInt
Reads the next 4 bytes as an unsigned integer from this instance at the current
position, taking int
- put
Writes the given byte into this buffer at the current position, and then
increments the position.
- putInt
Writes the specified int-value as 4 bytes to this instance at the current
position, respecting the b
- putUInt
Interprets the specified long-value as and unsigned integer, and appends it as 4
bytes to this insta
- rewind
Rewinds the buffer.After rewind, the next get() or put() will take place on the
first element of thi
- setByteOrder
Sets the byte order for this instance.
- <init>
- appendHexByteRepresentation