Struct tar::GnuSparseHeader [] [src]

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

Description of the header of a spare entry.

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

Fields

Methods

impl GnuSparseHeader
[src]

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.