Extracts a packed integer field from bits.
packed mode snapshot.
mask covering the packed field.
number of low bits to shift away after masking.