Skip to main content

read_section_struct_shapes

Function read_section_struct_shapes 

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

Read the TM-4 StructShapes section from a complete .inkb file using its index. Absent section decodes as empty, mirroring read_section_literal_pool.