marshal_ref

Function marshal_ref 

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

Zero-copy serialization of a NodeRef to a new Vec<u8>. Prefer marshal_ref_to with a reusable buffer for best performance.