Searched refs:eocdBuf (Results 1 – 2 of 2) sorted by relevance
60 ByteBuffer eocdBuf = eocdAndOffsetInFile.getFirst(); in findZipSections() local62 eocdBuf.order(ByteOrder.LITTLE_ENDIAN); in findZipSections()63 long cdStartOffset = ZipUtils.getZipEocdCentralDirectoryOffset(eocdBuf); in findZipSections()70 long cdSizeBytes = ZipUtils.getZipEocdCentralDirectorySizeBytes(eocdBuf); in findZipSections()79 int cdRecordCount = ZipUtils.getZipEocdCentralDirectoryTotalRecordCount(eocdBuf); in findZipSections()86 eocdBuf); in findZipSections()
691 ByteBuffer eocdBuf = ByteBuffer.allocate((int) eocd.size()); in copyWithModifiedCDOffset() local692 eocdBuf.order(ByteOrder.LITTLE_ENDIAN); in copyWithModifiedCDOffset()693 eocd.copyTo(0, (int) eocd.size(), eocdBuf); in copyWithModifiedCDOffset()694 eocdBuf.flip(); in copyWithModifiedCDOffset()695 ZipUtils.setZipEocdCentralDirectoryOffset(eocdBuf, centralDirOffsetForDigesting); in copyWithModifiedCDOffset()696 return DataSources.asDataSource(eocdBuf); in copyWithModifiedCDOffset()