• Returns the unsigned number formed by the bits field to field + width - 1 from n. Bits are numbered from 0 (least significant) to 31 (most significant). All accessed bits must be in the range [0, 31].

    The default for width is 1.

    Parameters

    • n: number
    • field: number
    • Optional width: number

    Returns number