Function decode_binary

Source
fn decode_binary<D: Decode<()>>(slice: &[u8]) -> Result<D>
Expand description

Helper function wrapping bincode::decode_from_slice().

We already have encode_binary() as a helper, we might as well have a helper for decoding.