fn decode_binary<D: Decode<()>>(slice: &[u8]) -> Result<D>
Helper function wrapping bincode::decode_from_slice().
bincode::decode_from_slice()
We already have encode_binary() as a helper, we might as well have a helper for decoding.
encode_binary()