Function bcs::serialize_into

source ·
pub fn serialize_into<W, T>(write: &mut W, value: &T) -> Result<()>
where W: ?Sized + Write, T: ?Sized + Serialize,
Expand description

Same as to_bytes but write directly into an std::io::Write object.