Compares two byte arrays using lexicographic ordering. This matches Rust's Ord implementation for Vec/[u8] which is used for BTreeMap key ordering. Comparison is done byte-by-byte first, then by length if all compared bytes are equal.
Compares two byte arrays using lexicographic ordering. This matches Rust's Ord implementation for Vec/[u8] which is used for BTreeMap key ordering.
Comparison is done byte-by-byte first, then by length if all compared bytes are equal.