Class StringUtil.Byte2Hex

java.lang.Object
io.netty.util.internal.StringUtil.Byte2Hex
Enclosing class:
StringUtil

private static final class StringUtil.Byte2Hex extends Object
Lazily initialized byte to hexadecimal string tables. StringUtil is loaded very early by most Netty applications, through StringUtil.simpleClassName(Class) and friends, while these tables are only needed for hex dumps, so they are kept in a holder to not pay for the 512 strings at startup.
  • Field Details

    • PAD

      static final String[] PAD
    • NOPAD

      static final String[] NOPAD
  • Constructor Details

    • Byte2Hex

      private Byte2Hex()