pub fn to_writer<W: BufWriter, T: Serialize + ?Sized>(
    w: &mut W,
    value: &T
) -> Result<(), BsatnError>
Expand description

Serialize value into the buffered writer w in the BSATN format.