Searched refs:EOCD_SIZE_WITHOUT_COMMENT (Results 1 – 1 of 1) sorted by relevance
24 const EOCD_SIZE_WITHOUT_COMMENT: usize = 22; constant48 let eocd_size = archive.comment().len() + EOCD_SIZE_WITHOUT_COMMENT; in zip_sections()79 ensure!(buf.len() >= EOCD_SIZE_WITHOUT_COMMENT, "Invalid EOCD size: {}", buf.len()); in get_central_directory()88 ensure!(buf.len() >= EOCD_SIZE_WITHOUT_COMMENT, "Invalid EOCD size: {}", buf.len()); in set_central_directory_offset()128 (cursor.get_ref().len() - EOCD_SIZE_WITHOUT_COMMENT) as u32 in test_zip_sections()146 let (pre_eocd, eocd) = buf.split_at(buf.len() - EOCD_SIZE_WITHOUT_COMMENT); in test_reject_if_extra_data_between_cd_and_eocd()