Trait zip_core::raw::parse::ParseExtend
source · pub trait ParseExtend {
type Fixed;
type Error;
// Required method
fn from_buf_fixed<T: Buf>(
buf: &mut T,
fixed: Self::Fixed,
) -> Result<Self, (Self::Error, Self::Fixed)>
where Self: Sized;
}
Required Associated Types§
Required Methods§
Implementors§
source§impl ParseExtend for ArchiveExtraDataRecord
impl ParseExtend for ArchiveExtraDataRecord
type Error = DynamicSizeError
type Fixed = ArchiveExtraDataRecordFixed
source§impl ParseExtend for CentralDirectoryHeader
impl ParseExtend for CentralDirectoryHeader
type Error = DynamicSizeError
type Fixed = CentralDirectoryHeaderFixed
source§impl ParseExtend for DigitalSignature
impl ParseExtend for DigitalSignature
type Error = DynamicSizeError
type Fixed = DigitalSignatureFixed
source§impl ParseExtend for EndOfCentralDirectory
impl ParseExtend for EndOfCentralDirectory
type Error = DynamicSizeError
type Fixed = EndOfCentralDirectoryFixed
source§impl ParseExtend for LocalFileHeader
impl ParseExtend for LocalFileHeader
type Error = DynamicSizeError
type Fixed = LocalFileHeaderFixed
source§impl ParseExtend for Zip64EndOfCentralDirectory
impl ParseExtend for Zip64EndOfCentralDirectory
This parsing just asummes that size_of_zip64_end_of_central_directory_record is exactly what it SHOULD be according to APPNOTE.txt