#[repr(C)]pub struct BasicFile {
pub block_idx: u32,
pub fragment_block_idx: u32,
pub offset: u32,
pub size: u32,
}
Fields§
§block_idx: u32
The offset from the start of the archive where the data blocks are stored
fragment_block_idx: u32
The index of a fragment entry in the fragment table which describes the data block the fragment of this file is stored in. If this file does not end with a fragment, this should be 0xFFFFFFFF
offset: u32
The (uncompressed) offset within the fragment data block where the fragment for this file. Information about the fragment can be found at fragment_block_index
. The size of the fragment can be found as file_size % superblock.block_size
If this file does not end with a fragment, the value of this field is undefined (probably zero)
size: u32
The (uncompressed) size of this file
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BasicFile
impl RefUnwindSafe for BasicFile
impl Send for BasicFile
impl Sync for BasicFile
impl Unpin for BasicFile
impl UnwindSafe for BasicFile
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more