Returns the value masked to the specified bit width.
The value to be masked.
The bit width for masking.
Returns the value masked to the specified bit width.