- <init>
Create a Buffer using the byte range as the initial value.
- get
Get the data from the Buffer.
- append
Append specified bytes to the buffer.
- getCount
Get the current count of the buffer.
- compareTo
Define the sort order of the Buffer.
- copy
Copy the specified byte array to the Buffer. Replaces the current buffer.
- getCapacity
Get the capacity, which is the maximum count that could handled without resizing
the backing storage
- setCapacity
Change the capacity of the backing storage. The data is preserved if newCapacity
>= getCount().
- toString
Convert the byte buffer to a string an specific character encoding
- equals
- hashCode
- set
Use the specified bytes array as underlying sequence.