Skip to main content

write_cdr_le_header

Function write_cdr_le_header 

Source
pub fn write_cdr_le_header(dst: &mut [u8]) -> Option<&mut [u8]>
Expand description

Write the little-endian CDR header into the first CDR_HEADER_LEN bytes of dst.

Returns the remaining payload slice &mut dst[CDR_HEADER_LEN..] on success, or None if dst is shorter than the header.