Skip to main content

read_section_frame_shapes

Function read_section_frame_shapes 

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

Read the FS-3 FrameShapes section (docs/flow-suspension-spec.md §4/§11) from a complete .inkb file using its index. Absent section (every story compiled behind the E052 fence, and all converter output) decodes as empty, mirroring read_section_visibility. The section-local version byte is checked independently of the whole-file VERSION — see [FRAME_SHAPES_SECTION_VERSION].