Validate 'nbits' to be a proper value

expect_valid_nbits(nbits, value_desc = "nbits")

Arguments

nbits

number of bits

value_desc

description of value to be inserted into error message