int version = peekShort(0) & 0xff; if (version > ZIPLocalHeaderVersionNeeded) { throw new ZipException("Cannot read local header version " + version); int flags = peekShort(LOCFLG - LOCVER); if ((flags & ZipFile.GPBF_UNSUPPORTED_MASK) != 0) { throw new ZipException("Invalid General Purpose Bit Flag: " + flags); int ceLastModifiedTime = peekShort(LOCTIM - LOCVER); int ceLastModifiedDate = peekShort(LOCTIM - LOCVER + 2); int ceCompressionMethod = peekShort(LOCHOW - LOCVER); long ceCrc = 0, ceCompressedSize = 0, ceSize = -1; if (!hasDD) { ceSize = ((long) Memory.peekInt(hdrBuf, LOCLEN - LOCVER, ByteOrder.LITTLE_ENDIAN)) & 0xffffffffL; int nameLength = peekShort(LOCNAM - LOCVER); if (nameLength == 0) { throw new ZipException("Entry is not named"); int extraLength = peekShort(LOCEXT - LOCVER);
int version = peekShort(0) & 0xff; if (version > ZIPLocalHeaderVersionNeeded) { throw new ZipException("Cannot read local header version " + version); int flags = peekShort(LOCFLG - LOCVER); if ((flags & ZipFile.GPBF_UNSUPPORTED_MASK) != 0) { throw new ZipException("Invalid General Purpose Bit Flag: " + flags); int ceLastModifiedTime = peekShort(LOCTIM - LOCVER); int ceLastModifiedDate = peekShort(LOCTIM - LOCVER + 2); int ceCompressionMethod = peekShort(LOCHOW - LOCVER); long ceCrc = 0, ceCompressedSize = 0, ceSize = -1; if (!hasDD) { ceSize = ((long) Memory.peekInt(hdrBuf, LOCLEN - LOCVER, ByteOrder.LITTLE_ENDIAN)) & 0xffffffffL; int nameLength = peekShort(LOCNAM - LOCVER); if (nameLength == 0) { throw new ZipException("Entry is not named"); int extraLength = peekShort(LOCEXT - LOCVER);
int version = peekShort(0) & 0xff; if (version > ZIPLocalHeaderVersionNeeded) { throw new ZipException("Cannot read local header version " + version); int flags = peekShort(LOCFLG - LOCVER); if ((flags & ZipFile.GPBF_UNSUPPORTED_MASK) != 0) { throw new ZipException("Invalid General Purpose Bit Flag: " + flags); int ceLastModifiedTime = peekShort(LOCTIM - LOCVER); int ceLastModifiedDate = peekShort(LOCTIM - LOCVER + 2); int ceCompressionMethod = peekShort(LOCHOW - LOCVER); long ceCrc = 0, ceCompressedSize = 0, ceSize = -1; if (!hasDD) { ceSize = ((long) Memory.peekInt(hdrBuf, LOCLEN - LOCVER, ByteOrder.LITTLE_ENDIAN)) & 0xffffffffL; int nameLength = peekShort(LOCNAM - LOCVER); if (nameLength == 0) { throw new ZipException("Entry is not named"); int extraLength = peekShort(LOCEXT - LOCVER);
int version = peekShort(0) & 0xff; if (version > ZIPLocalHeaderVersionNeeded) { throw new ZipException("Cannot read local header version " + version); int flags = peekShort(LOCFLG - LOCVER); if ((flags & ZipFile.GPBF_UNSUPPORTED_MASK) != 0) { throw new ZipException("Invalid General Purpose Bit Flag: " + flags); int ceLastModifiedTime = peekShort(LOCTIM - LOCVER); int ceLastModifiedDate = peekShort(LOCTIM - LOCVER + 2); int ceCompressionMethod = peekShort(LOCHOW - LOCVER); long ceCrc = 0, ceCompressedSize = 0, ceSize = -1; if (!hasDD) { ceSize = ((long) Memory.peekInt(hdrBuf, LOCLEN - LOCVER, ByteOrder.LITTLE_ENDIAN)) & 0xffffffffL; int nameLength = peekShort(LOCNAM - LOCVER); if (nameLength == 0) { throw new ZipException("Entry is not named"); int extraLength = peekShort(LOCEXT - LOCVER);
int version = peekShort(0) & 0xff; if (version > ZIPLocalHeaderVersionNeeded) { throw new ZipException("Cannot read local header version " + version); int flags = peekShort(LOCFLG - LOCVER); if ((flags & ZipFile.GPBF_UNSUPPORTED_MASK) != 0) { throw new ZipException("Invalid General Purpose Bit Flag: " + flags); int ceLastModifiedTime = peekShort(LOCTIM - LOCVER); int ceLastModifiedDate = peekShort(LOCTIM - LOCVER + 2); int ceCompressionMethod = peekShort(LOCHOW - LOCVER); long ceCrc = 0, ceCompressedSize = 0, ceSize = -1; if (!hasDD) { ceSize = ((long) Memory.peekInt(hdrBuf, LOCLEN - LOCVER, ByteOrder.LITTLE_ENDIAN)) & 0xffffffffL; int nameLength = peekShort(LOCNAM - LOCVER); if (nameLength == 0) { throw new ZipException("Entry is not named"); int extraLength = peekShort(LOCEXT - LOCVER);
int version = peekShort(0) & 0xff; if (version > ZIPLocalHeaderVersionNeeded) { throw new ZipException("Cannot read local header version " + version); int flags = peekShort(LOCFLG - LOCVER); if ((flags & ZipFile.GPBF_UNSUPPORTED_MASK) != 0) { throw new ZipException("Invalid General Purpose Bit Flag: " + flags); int ceLastModifiedTime = peekShort(LOCTIM - LOCVER); int ceLastModifiedDate = peekShort(LOCTIM - LOCVER + 2); int ceCompressionMethod = peekShort(LOCHOW - LOCVER); long ceCrc = 0, ceCompressedSize = 0, ceSize = -1; if (!hasDD) { ceSize = ((long) Memory.peekInt(hdrBuf, LOCLEN - LOCVER, ByteOrder.LITTLE_ENDIAN)) & 0xffffffffL; int nameLength = peekShort(LOCNAM - LOCVER); if (nameLength == 0) { throw new ZipException("Entry is not named"); int extraLength = peekShort(LOCEXT - LOCVER);
int version = peekShort(0) & 0xff; if (version > ZIPLocalHeaderVersionNeeded) { throw new ZipException("Cannot read local header version " + version); int flags = peekShort(LOCFLG - LOCVER); if ((flags & ZipFile.GPBF_UNSUPPORTED_MASK) != 0) { throw new ZipException("Invalid General Purpose Bit Flag: " + flags); int ceLastModifiedTime = peekShort(LOCTIM - LOCVER); int ceLastModifiedDate = peekShort(LOCTIM - LOCVER + 2); int ceCompressionMethod = peekShort(LOCHOW - LOCVER); long ceCrc = 0, ceCompressedSize = 0, ceSize = -1; if (!hasDD) { ceSize = ((long) Memory.peekInt(hdrBuf, LOCLEN - LOCVER, true)) & 0xffffffffL; int nameLength = peekShort(LOCNAM - LOCVER); if (nameLength == 0) { throw new ZipException("Entry is not named"); int extraLength = peekShort(LOCEXT - LOCVER);
int version = peekShort(0) & 0xff; if (version > ZIPLocalHeaderVersionNeeded) { throw new ZipException("Cannot read local header version " + version); int flags = peekShort(LOCFLG - LOCVER); if ((flags & ZipFile.GPBF_UNSUPPORTED_MASK) != 0) { throw new ZipException("Invalid General Purpose Bit Flag: " + flags); int ceLastModifiedTime = peekShort(LOCTIM - LOCVER); int ceLastModifiedDate = peekShort(LOCTIM - LOCVER + 2); int ceCompressionMethod = peekShort(LOCHOW - LOCVER); long ceCrc = 0, ceCompressedSize = 0, ceSize = -1; if (!hasDD) { ceSize = ((long) Memory.peekInt(hdrBuf, LOCLEN - LOCVER, ByteOrder.LITTLE_ENDIAN)) & 0xffffffffL; int nameLength = peekShort(LOCNAM - LOCVER); if (nameLength == 0) { throw new ZipException("Entry is not named"); int extraLength = peekShort(LOCEXT - LOCVER);