Struct symbolic_debuginfo::FatObject
[−]
[src]
pub struct FatObject<'bytes> { /* fields omitted */ }
Represents a potentially fat object containing one or more objects.
Methods
impl<'bytes> FatObject<'bytes>
[src]
fn peek<B>(bytes: B) -> Result<ObjectKind> where
B: AsRef<[u8]>,
[src]
B: AsRef<[u8]>,
Returns the type of the FatObject
fn parse(byteview: ByteView<'bytes>) -> Result<FatObject<'bytes>>
[src]
Provides a view to an object file from a byteview.
fn kind(&self) -> ObjectKind
[src]
Returns the kind of this FatObject
fn as_bytes(&self) -> &[u8]
[src]
Returns the contents as bytes.
fn object_count(&self) -> usize
[src]
Returns the number of contained objects.
fn get_object(&'bytes self, idx: usize) -> Result<Option<Object<'bytes>>>
[src]
Returns the n-th object.
fn objects(&'bytes self) -> Objects<'bytes>
[src]
Returns a iterator over object variants in this fat object.