bitsPadded method

String bitsPadded(
  1. int width
)

Returns this bytes as String of bits of length width.

Implementation

String bitsPadded(int width) =>
    map((e) => e.bits8).join().numericalPadLeft(width);