Struct infinite_rs::module::block::ModuleBlockEntry
source · pub struct ModuleBlockEntry {
pub compressed_offset: i32,
pub compressed_size: i32,
pub decompressed_offset: i32,
pub decompressed_size: i32,
pub is_compressed: bool,
}Expand description
Module block containing info relating to Kraken compression. Is used to determine how to read bytes in module_file.
Caution: Max size is 2GBs, engine limitation.
Fields§
§compressed_offset: i32Offset of compressed data inside module (after file_data_offset in module).
compressed_size: i32Size in bytes of compressed data inside module.
decompressed_offset: i32Offset of decompressed data inside decompression buffer.
decompressed_size: i32Size in bytes of decompression buffer.
is_compressed: boolBoolean indicating if block is compressed or not. Tags can be made up of both compressed and decompressed blocks.
Trait Implementations§
source§impl Debug for ModuleBlockEntry
impl Debug for ModuleBlockEntry
source§impl Default for ModuleBlockEntry
impl Default for ModuleBlockEntry
source§fn default() -> ModuleBlockEntry
fn default() -> ModuleBlockEntry
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ModuleBlockEntry
impl RefUnwindSafe for ModuleBlockEntry
impl Send for ModuleBlockEntry
impl Sync for ModuleBlockEntry
impl Unpin for ModuleBlockEntry
impl UnwindSafe for ModuleBlockEntry
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