Documentation
    Preparing search index...

    Function compareBcsBytes

    • 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.

      Parameters

      • a: Uint8Array
      • b: Uint8Array

      Returns number