code: public static void appendPrettyHexDump(StringBuilder dump, ByteBuf buf) {
          appendPrettyHexDump(dump, buf, buf.readerIndex(), buf.readableBytes());
      }
docs: Appends the prettified multi-line hexadecimal dump of the specified {@link ByteBuf} to the specified
  {@link StringBuilder} that is easy to read by humans.