Skip to main content

Module decoder

Module decoder 

Source
Expand description

Top-level BLTE stream decoder (magic validation, chunk table, block iteration). Top-level BLTE stream decoder.

Validates the "BLTE" magic, parses the chunk table (if present), and iterates over each block - delegating to the compression module for per-block decompression and decryption. Supports both single-block (header size = 0) and multi-block layouts.

Functionsยง

decode_blte
Decode a BLTE-encoded payload into raw file content.
decode_blte_with_keys
Decode a BLTE-encoded payload with optional encryption support.