- <init>
Creates instance of ByteBuffer already filled by bytes.
- append
Appends segment of a byte array to array if there are unfilled positions in it.
Otherwize creates ne
- compact
- getBytes
Returns stored byte array.
- getNext
Returns the next link in the chain.
- getTotalSize
Returns total number of bytes stored in this link and all its predecessors.
- getUsedSize
Returns actual number of byte stored in this link.
- getByteAt
Returns byte at index. No check is fulfilled to provide high speed.
- getPrevious
Returns the previous link in the chain.
- reset
Resets this byte buffer to empty state
- setNext
Sets the next link in the chain.
- toCharBuffer
Transforms this instance to instance of CharBuffer (a link of chain of char
arrays).