pub fn strip_cdr_header(src: &[u8]) -> &[u8] ⓘExpand description
Strip the CDR encapsulation header from src, returning the payload slice.
Does not verify header contents — callers that need to validate the
representation identifier should do so separately. Returns src unchanged
if it is shorter than the header (so downstream parsers fail with a clearer
error than an out-of-bounds slice).