toListOfUint32 method

List<int> toListOfUint32()

Converts this bytes to a List of Uint32.

Implementation

List<int> toListOfUint32() {
  final byteData = asByteData();
  return List<int>.generate(length ~/ 4, (i) => byteData.getUint32(i * 4));
}