Skip to main content

read_section_visibility

Function read_section_visibility 

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

Read the M-2b Visibility section (tag 0x0E) from a complete .inkb file using its index — the DefinitionIds of every #@private definition. Absent section decodes as empty (the all-public common case), mirroring read_section_struct_shapes.