- flushTo
Tries to copy as much bytes as possible from this buffer to the given channel.
This method always co
- putByte
Puts a byte into the buffer at the given position. Does not increase the write
position.
- putDouble
Puts a 64-bit floating point number into the buffer at the given position. Does
not increase the wri
- putFloat
Puts a 32-bit floating point number into the buffer at the given position. Does
not increase the wri
- putInt
Puts a 32-bit integer into the buffer at the given position. Does not increase
the write position.
- putLong
Puts a 64-bit integer into the buffer at the current write position and
increases the write position
- putString
Puts a character sequence into the buffer at the current write position and
increases the write posi
- putUTF8
Encodes the given string as UTF-8, puts it into the buffer and increases the
write position accordin
- size
- writeTo
Writes all non-flushed internal buffers to the given channel. If
#flushTo(WritableByteChannel) has n
- adaptSize
Adapts the buffer size so it is at least equal to the given number of bytes.
This method does not ad
- addNewBuffer
Adds a new buffer to the list of internal buffers