Skip to main content

read_section_effect_rows

Function read_section_effect_rows 

Source
pub fn read_section_effect_rows(
    buf: &[u8],
    index: &InkbIndex,
) -> Result<Vec<EffectRowEntry>, DecodeError>
Expand description

Read the T2-3 EffectRows section (docs/effects-spec.md §11) from a complete .inkb file using its index. Absent section (converter output, or a story compiled before this slice) decodes as empty, mirroring read_section_alias_table. The section-local version byte is checked independently of the whole-file VERSION — see [EFFECT_ROWS_SECTION_VERSION].