wantsBinary property
Uint8List
wantsBinary
Implementation
Uint8List get wantsBinary {
if (_diskMissing.isEmpty) return Uint8List(0);
int w = 0;
Uint8List _l = Uint8List(128);
var b0 = new ByteData.view(_l.buffer);
List<int> dmi = _diskMissing.toList();
dmi.shuffle();
final t = dmi.sublist(0, 1);
for (var id in t) {
b0.setUint64(w, id);
w += 8;
if (w > _l.lengthInBytes) break;
}
return _l.sublist(0, w);
}