check_optimized_section_lengths

Function check_optimized_section_lengths 

Source
fn check_optimized_section_lengths(
    instance_len: usize,
    mesh_len: usize,
    material_len: usize,
    vertex_len: usize,
    index_len: usize,
) -> Result<(), ParquetError>
Expand description

Validate the five optimized-writer section lengths against the u32 wire limit. Takes plain lengths, not byte slices, so a >4 GiB test case is just the number u32::MAX as usize + 1 — no multi-gigabyte buffer needed.