Skip to main content

marshal_ref_exact

Function marshal_ref_exact 

Source
pub fn marshal_ref_exact(node: &NodeRef<'_>) -> Result<Vec<u8>>
Expand description

Serialize a NodeRef using a two-pass exact-size strategy.

This avoids output buffer growth/copies and preserves zero-copy input semantics.