withBitsAt method

Bits withBitsAt(
  1. int offset,
  2. int width,
  3. int value
)

Implementation

Bits withBitsAt(int offset, int width, int value) => withBits(Bitmask.bits(offset, width), value);