pub struct SeekTable {
pub entries: Vec<SeekEntry>,
}Expand description
Parsed seek table (does not include the skippable header itself).
Fields§
§entries: Vec<SeekEntry>Frames in file order (not including the table frame).
Implementations§
Source§impl SeekTable
impl SeekTable
Sourcepub fn uncompressed_offset(&self, i: usize) -> u64
pub fn uncompressed_offset(&self, i: usize) -> u64
Uncompressed offset of frame i.
Sourcepub fn compressed_offset(&self, i: usize) -> u64
pub fn compressed_offset(&self, i: usize) -> u64
Compressed offset of frame i from the start of the file.
Sourcepub fn uncompressed_size(&self) -> u64
pub fn uncompressed_size(&self) -> u64
Total uncompressed size.
Trait Implementations§
impl Eq for SeekTable
impl StructuralPartialEq for SeekTable
Auto Trait Implementations§
impl Freeze for SeekTable
impl RefUnwindSafe for SeekTable
impl Send for SeekTable
impl Sync for SeekTable
impl Unpin for SeekTable
impl UnsafeUnpin for SeekTable
impl UnwindSafe for SeekTable
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