protected final void debugNumber(final String msg, final int data, final int bytes) {
        try (StringWriter sw = new StringWriter();
                PrintWriter pw = new PrintWriter(sw)) {
            debugNumber(pw, msg, data, bytes);
            pw.flush();
            sw.flush();
            LOGGER.fine(sw.toString());
        } catch (final IOException e) {
            LOGGER.log(Level.SEVERE, e.getMessage(), e);
        }
    }
Constructs a new instance with the default, big-endian, byte order.
src/main/java/org/apache/commons/imaging/common/BinaryFileParser.java