• Parses binary data into a Node structure. The binary format is strictly defined as follows:

    • 4 bytes: number of keys (keyCount)
    • For each key:
      • 4 bytes: key size (must be between 1 and 31)
      • keySize bytes: key data
    • 4 bytes: number of data entries (dataCount)
    • For each data entry:
      • 8 bytes: offset (BigInt)
      • 4 bytes: length
    • 17 * 8 bytes: subnode addresses

    Parameters

    • data: ArrayBuffer

      Raw binary data to parse

    Returns Node

    Parsed node structure

    If key size is invalid (not between 1 and 31)