pub fn to_bytes_mut<B, T>(value: &T, buf: &mut B)where
    B: Buffer,
    T: Serialize + ?Sized,