Utils
mask
Mask value
with a bitmask of bits
ones.
Parameters
Parameter | Type | Description |
---|---|---|
_value | BigNumberish | The value to mask. |
_bits | Numeric | The number of bits to mask. |
Returns
bigint
The masked value.
Mask value
with a bitmask of bits
ones.
Parameter | Type | Description |
---|---|---|
_value | BigNumberish | The value to mask. |
_bits | Numeric | The number of bits to mask. |
bigint
The masked value.