Function xdr_codec::pack [] [src]

pub fn pack<Out: Write, T: Pack<Out>>(val: &T, out: &mut Out) -> Result<()>

Serialization (packing) helper.

Helper to serialize any type implementing Pack into an implementation of std::io::Write.