public static final void assertByteArrayNotNull(byte[] data) throws ChmParsingException {
        if (data == null) {
            throw new ChmParsingException("byte[] data is null");
        }
    }
Checks if byte[] is not null

@param data
@throws ChmParsingException
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-microsoft-module/src/main/java/org/apache/tika/parser/microsoft/chm/ChmAssert.java