A buffer representing an array of bytes.
A buffer representing the remaining bytes in the given ByteBuffer.
A buffer representing the remaining bytes in the given ByteBuffer. The given buffer will not be affected.
Modifications to the ByteBuffer's content will be visible to the resulting Buf. The ByteBuffer should be immutable in practice.
An empty buffer.
Create and deconstruct unsigned 32-bit big endian encoded buffers.
Create and deconstruct unsigned 32-bit big endian encoded buffers.
Deconstructing will return the value as well as the remaining buffer.
Create and deconstruct unsigned 32-bit little endian encoded buffers.
Create and deconstruct unsigned 32-bit little endian encoded buffers.
Deconstructing will return the value as well as the remaining buffer.
Create and deconstruct unsigned 64-bit big endian encoded buffers.
Create and deconstruct unsigned 64-bit big endian encoded buffers.
Deconstructing will return the value as well as the remaining buffer.
Create and deconstruct unsigned 64-bit little endian encoded buffers.
Create and deconstruct unsigned 64-bit little endian encoded buffers.
Deconstructing will return the value as well as the remaining buffer.
Create and deconstruct Utf-8 encoded buffers.
Byte equality between two buffers.
Byte equality between two buffers. Requires copies.
The 32-bit FNV-1 of Buf
Return a string representing the buffer contents in hexadecimal.
Convert the Buf to a Java NIO ByteBuffer.