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_LENbytes ofdst.