code: public static String hexDump(ByteBuf buffer) {
          return hexDump(buffer, buffer.readerIndex(), buffer.readableBytes());
      }
docs: Returns a <a href="http://en.wikipedia.org/wiki/Hex_dump">hex dump</a>
  of the specified buffer's readable bytes.