Uint64binaryList method
Implementation
Uint8List Uint64binaryList(List<int> d) {
if (d.isEmpty) return Uint8List(0);
int w = 0;
Uint8List _l = Uint8List(128000);
var b0 = new ByteData.view(_l.buffer);
for (var id in d) {
b0.setInt64(w, id);
w += 8;
if (w > _l.lengthInBytes) break;
}
return _l.sublist(0, w);
}