pub unsafe fn write_value<T: Sized>( write: &mut impl Write, value: &T) -> Result<()>
View this reference as a mutable slice of bytes and write it.