Function bincode::serialize_into [−][src]
pub fn serialize_into<W, T: ?Sized>(writer: W, value: &T) -> Result<()> where
W: Write,
T: Serialize,
Serializes an object directly into a Writer
using the default configuration.
If the serialization would take more bytes than allowed by the size limit, an error
is returned and no bytes will be written into the Writer
.