Access the underlying array.
Access the underlying array. Note, this is not always a safe operation because the the buffer could contain a composition of arrays, in which case this will throw an exception.
Current writer offset.
Returns a Netty ChannelBuffer representing the underlying buffer.
Returns a Netty ChannelBuffer representing the underlying buffer. The ChannelBuffer is guaranteed ByteOrder.LITTLE_ENDIAN.
Denotes if the buffer is writable upto the given width based on the current offset.
Writes bytes onto the buffer.
Writes bytes onto the buffer.
Array[Byte] to copy onto the buffer.
Buffer capacity.
Fills the buffer from current offset to offset+n with b.
Fills the buffer from current offset to offset+n with b.
width to fill
Byte used to fill.
Fills the rest of the buffer with the given byte.
Fills the rest of the buffer with the given byte.
Byte used to fill.
Writes a length coded binary according the the MySQL Client/Server protocol.
Writes a length coded binary according the the MySQL Client/Server protocol. Refer to MySQL documentation for more information.
Writes a length coded set of bytes according to the MySQL client/server protocol.
Writes a length coded string using the MySQL Client/Server protocol.
Writes a length coded string using the MySQL Client/Server protocol. Uses Charset.defaultCharset by default to decode the given String.
String to write to buffer.
Writes a null terminated string onto the buffer where '\0' denotes null.
Writes a null terminated string onto the buffer where '\0' denotes null. Uses Charset.defaultCharset by default to decode the given String.
String to write.