Struct goblin::archive::Member [] [src]

pub struct Member {
    pub offset: u64,
    // some fields omitted
}

Represents a single entry in the archive

Fields

File offset from the start of the archive to where the file begins

Methods

impl Member
[src]

Tries to parse the header in R, as well as the offset in `R. NOTE the Seek will be pointing at the first byte of whatever the file is, skipping padding. This is because just like members in the archive, the data section is 2-byte aligned.

The size of the Member's content, in bytes. Does not include newline padding, nor the size of the file header.

The untrimmed raw member name, i.e., includes right-aligned space padding and '/' end-of-string identifier

Trait Implementations

impl Debug for Member
[src]

Formats the value using the given formatter.

impl Clone for Member
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Member
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.