pub fn compare_field_bytes(
a_buf: &[u8],
a_range: (usize, usize),
b_buf: &[u8],
b_range: (usize, usize),
) -> OrderingExpand description
Compare two MessagePack values by their decoded content.
Comparison order:
- Null < Bool < Number < String < Binary < Array < Map
- Within numbers: compare as f64
- Within strings: lexicographic on raw bytes (valid UTF-8 guarantees byte order = Unicode code-point order for ASCII/Latin-1)
- Fallback: raw byte comparison