supportsOperationWidth method

bool supportsOperationWidth(
  1. int width
)

Checks that width can encode every advertised operation.

Implementation

bool supportsOperationWidth(int width) =>
    width >= 2 &&
    extensionOperations
        .every((code) => BigInt.from(code) < (BigInt.one << width));