Struct Zip64DataDescriptorBlock
pub struct Zip64DataDescriptorBlock { pub crc32: u32, pub compressed_size: u64, pub uncompressed_size: u64 }
Zip64 data descriptor
Fields
crc32: u32crc 32
compressed_size: u64compressed size
uncompressed_size: u64uncompressed size
Implementations
impl Zip64DataDescriptorBlock
const SIZE: usize = _;Signature + fields
const MAGIC: Magic = Magic::DATA_DESCRIPTOR_SIGNATURE;Magic
fn parse(buff: &[u8; 24]) -> Result<Self, &'static str>Parse the zip64 data descriptor
fn write<W: Write>(&self, w: &mut W) -> Result<()>Write the zip64 data descriptor
Trait Implementations
impl Clone for Zip64DataDescriptorBlock
fn clone(&self) -> Self
impl Copy for Zip64DataDescriptorBlock
impl Debug for Zip64DataDescriptorBlock
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl PartialEq for Zip64DataDescriptorBlock
fn eq(&self, other: &Self) -> bool