UMIS SDK
    Preparing search index...

    Interface StatusList

    A status list in the packed layout of the draft: entry 0 occupies the least significant bits of byte 0, entry 1 the next bits bits, and so on. get and set throw INVALID_ARGUMENT outside 0 <= idx < size and for a value that does not fit in bits bits.

    interface StatusList {
        bits: StatusBits;
        size: number;
        get(idx: number): number;
        set(idx: number, value: number): void;
        toBytes(): Uint8Array;
    }
    Index
    size: number
    • Parameters

      • idx: number

      Returns number

    • Parameters

      • idx: number
      • value: number

      Returns void

    • A copy of the packed bytes; the unused bits of the last byte are zero.

      Returns Uint8Array