Package io.netty.buffer
Class ByteBufUtil.HexUtil
java.lang.Object
io.netty.buffer.ByteBufUtil.HexUtil
- Enclosing class:
ByteBufUtil
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static void
appendHexDumpRowPrefix
(StringBuilder dump, int row, int rowStartIndex) private static void
appendPrettyHexDump
(StringBuilder dump, ByteBuf buf, int offset, int length) private static String
hexDump
(byte[] array, int fromIndex, int length) private static String
private static String
prettyHexDump
(ByteBuf buffer, int offset, int length)
-
Field Details
-
BYTE2CHAR
private static final char[] BYTE2CHAR -
HEXDUMP_TABLE
private static final char[] HEXDUMP_TABLE -
HEXPADDING
-
HEXDUMP_ROWPREFIXES
-
BYTE2HEX
-
BYTEPADDING
-
-
Constructor Details
-
HexUtil
private HexUtil()
-
-
Method Details
-
hexDump
-
hexDump
-
prettyHexDump
-
appendPrettyHexDump
-
appendHexDumpRowPrefix
-