encodeUint32List method
Implementation
Uint8List encodeUint32List() {
final length = this.length;
final bs = Uint8List(length * 4);
final byteData = bs.asByteData();
var byteDataOffset = 0;
for (var i = 0; i < length; ++i) {
var n = this[i];
byteData.setUint32(byteDataOffset, n);
byteDataOffset += 4;
}
return bs;
}