#[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.
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.
Formats the value using the given formatter.
Read more
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
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.