- flipToFlush
Flip the buffer to Flush mode. The limit is set to the first unused byte(the old
position) and the p
- toBuffer
Create a new ByteBuffer using the provided byte array.
- toDetailString
- append
Append bytes to a buffer.
- clearToFill
Clear the buffer to be empty in fill mode. The position is set to 0 and the
limit is set to the capa
- flipToFill
Flip the buffer to fill mode. The position is set to the first unused position
in the buffer (the ol
- allocate
Allocate ByteBuffer in flush mode. The position and limit will both be zero,
indicating that the buf
- clear
Clear the buffer to be empty in flush mode. The position and limit are set to 0;
- hasContent
Check for a non null and non empty buffer.
- toString
Convert the buffer to an ISO-8859-1 String
- isEmpty
Check for an empty or null buffer.
- length
Get remaining from null checked buffer