pub fn marshal_ref(node: &NodeRef<'_>) -> Result<Vec<u8>>
Zero-copy serialization of a NodeRef to a new Vec<u8>. Prefer marshal_ref_to with a reusable buffer for best performance.
NodeRef
Vec<u8>
marshal_ref_to