- hexDump
Returns a hex dump [http://en.wikipedia.org/wiki/Hex_dump] of the specified byte
array's sub-region.
- getBytes
- writeUtf8
Encode a CharSequence in UTF-8 [http://en.wikipedia.org/wiki/UTF-8] and write it
to a ByteBuf alloca
- prettyHexDump
Returns a multi-line hexadecimal dump of the specified ByteBuf that is easy to
read by humans, start
- equals
Returns true if and only if the two specified buffers are identical to each
other as described in By
- writeAscii
Encode a CharSequence in ASCII [http://en.wikipedia.org/wiki/ASCII] and write it
to a ByteBuf alloca
- encodeString
Encode the given CharBuffer using the given Charset into a new ByteBuf which is
allocated via the By
- copy
Copies the all content of src to a ByteBuf using
ByteBuf#writeBytes(byte[],int,int).
- utf8Bytes
- indexOf
Returns the reader index of needle in haystack, or -1 if needle is not in
haystack.
- reserveAndWriteUtf8
Encode a CharSequence in UTF-8 [http://en.wikipedia.org/wiki/UTF-8] and write it
into reserveBytes o
- threadLocalDirectBuffer
Returns a cached thread-local direct buffer, if available.