pub fn write_pod<T>( buf: &mut [u8], offset: usize, value: &T, ) -> Result<(), ParseError>where T: IntoBytes + Immutable + KnownLayout,
Write a zerocopy-compatible struct into buf at offset.
buf
offset