Struct object::read::archive::ArchiveMember
source · 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.