uint64ArrayToIntList function

List<int> uint64ArrayToIntList(
  1. Pointer<Uint64> ptr,
  2. int length
)

Convert C uint64 array to Dart int list.

Implementation

List<int> uint64ArrayToIntList(Pointer<Uint64> ptr, int length) {
  final list = <int>[];
  for (var i = 0; i < length; i++) {
    list.add(ptr[i].toInt());
  }
  return list;
}