Skip to main content

Module material_container

Module material_container 

Source
Expand description

Container-level attach/read helpers for the optional MAT1 section.

Enums§

MaterialContainerError

Functions§

attach_material_section
Add MAT1 to an already sealed container, preserving its existing sections and resealing CRC.
material_container_counts
Validate the sealed container and MAT1 header, then return bounded material/range counts.
read_material_section_into
Read MAT1 into caller-owned buffers after validating the enclosing container and mesh ranges.