Used by RustDDS and ros2-client.
See Wikipedia or specification in Section "9.3 CDR Transfer Syntax".
This is also a part of the full XTYPES specification. XTYPES specifies several encodings, of which this implemention is only for "plain" CDR.
This version breaks compatibility to previous versions. The deserializer can now borrow bytes.