Function bincode::encode_into_std_write
source · pub fn encode_into_std_write<E: Encode, C: Config, W: Write>(
val: E,
dst: &mut W,
config: C
) -> Result<usize, EncodeError>
Expand description
Encode the given value into any type that implements std::io::Write
, e.g. std::fs::File
, with the given Config
.
See the config module for more information.
Returns the amount of bytes written.