private void check(final boolean value, final String type) throws ImagingException {
        if (!value) {
            throw new ImagingException("PAM header has no " + type + " value");
        }
    }
Constructs a new instance with the little-endian byte order.
src/main/java/org/apache/commons/imaging/formats/pnm/PnmImageParser.java