Struct object::read::archive::ArchiveFile [−][src]
pub struct ArchiveFile<'data> { /* fields omitted */ }
A partially parsed archive file.
Implementations
impl<'data> ArchiveFile<'data>
[src]
impl<'data> ArchiveFile<'data>
[src]pub fn parse(data: &'data [u8]) -> Result<Self>
[src]
Parse the archive header and special members.
pub fn kind(&self) -> ArchiveKind
[src]
Return the archive format.
pub fn members(&self) -> ArchiveMemberIterator<'data>ⓘNotable traits for ArchiveMemberIterator<'data>
impl<'data> Iterator for ArchiveMemberIterator<'data> type Item = Result<ArchiveMember<'data>>;
[src]
Notable traits for ArchiveMemberIterator<'data>
impl<'data> Iterator for ArchiveMemberIterator<'data> type Item = Result<ArchiveMember<'data>>;
Iterate over the members of the archive.
This does not return special members.