Skip to main content

write_pod

Function write_pod 

Source
pub fn write_pod<T>(
    buf: &mut [u8],
    offset: usize,
    value: &T,
) -> Result<(), ParseError>
Expand description

Write a zerocopy-compatible struct into buf at offset.