ConstReadonlyreader: (data: Buffer) => CdrReaderCreates a decoder over encoded bytes.
ReadonlytwistFromBytes: (data: Buffer) => Ros2Twist | nullDecodes a twist from its CDR representation, or null if the bytes are not
a well-formed twist.
ReadonlytwistToBytes: (twist: Ros2Twist) => BufferEncodes a twist into its CDR representation.
Readonlywriter: () => CdrWriterCreates an encoder with the encapsulation header already written.
The CDR encoding a ROS 2 payload travels in.