Skip to main content

declared_entries

Function declared_entries 

Source
pub fn declared_entries(
    bytes: &[u8],
    max_end_records: usize,
) -> Result<DeclaredEntries, EndRecordRefusal>
Expand description

Read every end record zip 8.6 may examine, last first.

These checks are a subset of those the reader applies before it reserves a table, so it may reject a record accepted here and fall back to an earlier one. The count comparison in the adapter then refuses the archive unless the counts agree, and every Zip64 count the reader could reach that way is in largest_zip64.