shiftRight method

ByteConverter shiftRight(
  1. int count
)

Returns a new ByteConverter with bits shifted right by count.

Implementation

ByteConverter shiftRight(int count) {
  if (count < 0) throw ArgumentError('Shift count cannot be negative');
  return ByteConverter.withBits(_converter.bits >> count);
}