Searched refs:maxCommentSize (Results 1 – 1 of 1) sorted by relevance
99 RandomAccessFile zip, int maxCommentSize) throws IOException { in findZipEndOfCentralDirectoryRecord() argument110 if ((maxCommentSize < 0) || (maxCommentSize > UINT16_MAX_VALUE)) { in findZipEndOfCentralDirectoryRecord()111 throw new IllegalArgumentException("maxCommentSize: " + maxCommentSize); in findZipEndOfCentralDirectoryRecord()121 maxCommentSize = (int) Math.min(maxCommentSize, fileSize - ZIP_EOCD_REC_MIN_SIZE); in findZipEndOfCentralDirectoryRecord()123 ByteBuffer buf = ByteBuffer.allocate(ZIP_EOCD_REC_MIN_SIZE + maxCommentSize); in findZipEndOfCentralDirectoryRecord()