Struct ZipDataDescriptorBlock
pub struct ZipDataDescriptorBlock { pub crc32: u32, pub compressed_size: u32, pub uncompressed_size: u32 }
Zip data descriptor
Fields
crc32: u32crc 32
compressed_size: u32compressed size
uncompressed_size: u32uncompressed size
Implementations
impl ZipDataDescriptorBlock
const SIZE: usize = _;Signature + fields
const MAGIC: Magic = Magic::DATA_DESCRIPTOR_SIGNATURE;Magic
fn parse(buff: &[u8; 16]) -> 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 ZipDataDescriptorBlock
fn clone(&self) -> Self
impl Copy for ZipDataDescriptorBlock
impl Debug for ZipDataDescriptorBlock
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl PartialEq for ZipDataDescriptorBlock
fn eq(&self, other: &Self) -> bool