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