public static HexDump hexDump(final InputStream inputStream,
                                  final Charset charset,
                                  final int maxHexDumpLines) throws IOException {
        return hexDump(inputStream, charset, 0, maxHexDumpLines);
    }
Produces a hex dump similar to the linux xxd binary.

@param inputStream     The stream to dump as hex
@param charset         The charset to decode single bytes with. Even if a multibyte charset
                       is supplied bytes will only be decoded individually.
@param maxHexDumpLines The max number of line of hex dump output. A full line contains 32 bytes.
@return
@throws IOException
stroom-util/src/main/java/stroom/util/string/HexDumpUtil.java