Function bincode::decode_from_std_read[][src]

pub fn decode_from_std_read<D: Decode, C: Config, R: Read>(
    src: &mut R,
    _config: C
) -> Result<D, DecodeError>
This is supported on crate feature std only.
Expand description

Decode type D from the given reader with the given Config. The reader can be any type that implements std::io::Read, e.g. std::fs::File.

See the config module for more information about config options.