Creates a bitset from the permissions in the array where each enum value is used to set the bit flag in the set.
ATTEST has 0000000000000001 (decimal 1). DELEGATE has 0000000000000010 (decimal 2).
0000000000000001
0000000000000010
Adding the enum values results in a decimal representation of the bitset.
The delegation from which you want to convert the permissions to bitset.
The bitset as single value uint8 array.
Creates a bitset from the permissions in the array where each enum value is used to set the bit flag in the set.
ATTEST has
0000000000000001
(decimal 1). DELEGATE has0000000000000010
(decimal 2).Adding the enum values results in a decimal representation of the bitset.