Trait lotus_lib::toc::FileNode

source ·
pub trait FileNode {
    // Required methods
    fn cache_offset(&self) -> i64;
    fn timestamp(&self) -> i64;
    fn comp_len(&self) -> i32;
    fn len(&self) -> i32;
}
Expand description

Trait for file nodes.

Required Methods§

source

fn cache_offset(&self) -> i64

Returns the cache offset of the file.

source

fn timestamp(&self) -> i64

Returns the timestamp of the file.

source

fn comp_len(&self) -> i32

Returns the compressed length of the file.

source

fn len(&self) -> i32

Returns the decompressed length of the file.

Implementors§