Skip to main content

Module cdr

Module cdr 

Source
Expand description

CDR encapsulation constants and helpers for FFI layers that handle raw CDR bytes (e.g. nros-c, nros-cpp action and service paths).

Constants§

CDR_BE_HEADER
CDR encapsulation header for big-endian encoding
CDR_HEADER_LEN
Length of the CDR encapsulation header (representation identifier + options).
CDR_LE_HEADER
CDR encapsulation header for little-endian encoding

Functions§

strip_cdr_header
Strip the CDR encapsulation header from src, returning the payload slice.
write_cdr_le_header
Write the little-endian CDR header into the first CDR_HEADER_LEN bytes of dst.