pub(crate) struct ModuleBlockEntry {
pub(super) compressed_offset: u32,
pub(super) compressed_size: u32,
pub(super) decompressed_offset: u32,
pub(super) decompressed_size: u32,
pub(super) is_compressed: bool,
}Expand description
Represents a module block entry containing information related to Kraken compression.
This struct is used to determine how to read bytes in ModuleFileEntry.
Fields§
§compressed_offset: u32Offset in bytes of compressed data inside the module (after file_data_offset in the module).
compressed_size: u32Size in bytes of compressed data inside the module.
decompressed_offset: u32Offset in bytes of decompressed data inside the decompression buffer.
decompressed_size: u32Size in bytes of the decompression buffer.
is_compressed: boolBoolean indicating if the 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