public static void logCharQuad(final String msg, final int i) {
        LOGGER.finest(msg + ": '" + (char) (0xff & i >> 24) + (char) (0xff & i >> 16) + (char) (0xff & i >> 8) + (char) (0xff & i >> 0) + "'");

    }
Finds the index of the first 0 in the array starting at the given index.

@param src  the array to search for the object, may be {@code null}
@param message The ImagingException message if 0 is not found.
@return the index of the value within the array,
@throws ImagingException Thrown if 0 is not found.
src/main/java/org/apache/commons/imaging/common/BinaryFunctions.java