Function write_strategy_header

Source
fn write_strategy_header<W: Write>(
    writer: &mut W,
    len: usize,
    strategy: EncodingStrategy,
) -> Result<(), Error>
Expand description

Write the outer Product header in the shape required by strategy: Tagged → int-keyed fixmap, Array → positional fixarray. Used by both top-level struct paths and variant-payload paths.