Struct tar::GnuSparseHeader[][src]

#[repr(C)]
pub struct GnuSparseHeader { pub offset: [u8; 12], pub numbytes: [u8; 12], }
Expand description

Description of the header of a spare entry.

Specifies the offset/number of bytes of a chunk of data in octal.

Fields

offset: [u8; 12]numbytes: [u8; 12]

Implementations

Returns true if block is empty

Offset of the block from the start of the file

Returns Err for a malformed offset field.

Length of the block

Returns Err for a malformed numbytes field.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.