Expand description
CDR Micro encoder/decoder (fixed buffer, no allocations) CDR Micro - Lightweight CDR encoder/decoder for embedded
Implements a minimal subset of CDR2 (Common Data Representation v2.0) with fixed buffers and no heap allocations.
§Supported Types
- Primitives: u8, u16, u32, u64, i8, i16, i32, i64, f32, f64, bool
- Fixed-size arrays: [T; N]
- Strings: &str (with length prefix)
§Limitations
- No sequences (unbounded arrays) - use fixed arrays instead
- No optional fields - all fields are required
- Little-endian only (for simplicity on embedded targets)
Structs§
- CdrDecoder
- CDR Decoder with fixed buffer
- CdrEncoder
- CDR Encoder with fixed buffer