Skip to main content

marshal_ref_to

Function marshal_ref_to 

Source
pub fn marshal_ref_to(node: &NodeRef<'_>, writer: &mut impl Write) -> Result<()>
Expand description

Zero-copy serialization of a NodeRef directly into a writer. This avoids the allocation overhead of converting to an owned Node first.