public static boolean isFileHeader(byte[] byteArray, int index) {
        return Arrays.equals(LOCAL_FILE_HEADER, Arrays.copyOfRange(byteArray, index, 4));
    }
Check the input data is a local file header.

@param byteArray The content of a file.
@param index     The index where to start.
@return True if the input data is a local file header, otherwise false.
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-microsoft-module/src/main/java/org/apache/tika/parser/microsoft/onenote/fsshttpb/streamobj/basic/ZipHeader.java