ROS2 Standard Messages
ColorRGBA
Header
std_msgs.Header — stamp + frame_id. Buffer-backed.
Stored as an owned CDR buffer; field accessors do O(1) reads at
known offsets. Decoding via :meth:from_cdr parses the buffer in a
single pass and stamps a 1-element offset table.
cdr_size
property
cdr_size: int
Size of the underlying CDR buffer in bytes.
to_bytes
to_bytes() -> bytes
Return the full CDR buffer as bytes (one copy).