shiftLeft method

ByteConverter shiftLeft(
  1. int count
)

Returns a new ByteConverter with bits shifted left by count.

Implementation

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