pub struct ArchiveMember<'data> { /* private fields */ }
Expand description
A partially parsed archive member.
Implementations§
Source§impl<'data> ArchiveMember<'data>
impl<'data> ArchiveMember<'data>
Sourcepub fn header(&self) -> Option<&'data Header>
pub fn header(&self) -> Option<&'data Header>
Return the raw header that is common to many archive formats.
Returns None
if this archive does not use the common header format.
Sourcepub fn aix_header(&self) -> Option<&'data AixHeader>
pub fn aix_header(&self) -> Option<&'data AixHeader>
Return the raw header for AIX big archives.
Returns None
if this is not an AIX big archive.
Sourcepub fn name(&self) -> &'data [u8]
pub fn name(&self) -> &'data [u8]
Return the parsed file name.
This may be an extended file name.
Sourcepub fn file_range(&self) -> (u64, u64)
pub fn file_range(&self) -> (u64, u64)
Return the offset and size of the file data.