Function bincode::decode_from_std_read
source · pub fn decode_from_std_read<D: Decode, C: Config, R: Read>(
src: &mut R,
config: C
) -> Result<D, DecodeError>
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.