hex property

String hex

Encodes the buffers readable bytes in hex while not updating the ByteBuf.readerIndex or resetting user markers


Example:

0000000b48656c6c6f20576f726c64

Implementation

String get hex => peekAvailableBytes().hexdump;