[][src]Function bcs::serialize_into

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

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