nextBytes method

Uint8List nextBytes(
  1. int count
)

Implementation

Uint8List nextBytes(int count) {
  Uint8List list = Uint8List(count);

  for (int i = 0; i < list.length; i++) {
    list[i] = nextUint8();
  }
  return list;
}