Function packFieldIndexes

  • Packs up to five indexes into a single uint32 value.

    Parameters

    • indexes: number[]

      Array of up to five indexes to pack.

    Returns number

    • Packed uint32 value.
    • If more than five indexes are provided or an index exceeds the maximum value.