toCArray method

void toCArray(
  1. Array<Int8> arr
)

Implementation

void toCArray(Array<Int8> arr) {
  final ls = codeUnits;
  for (var e in ls.indexed) {
    arr[e.$1] = e.$2 & 0xFF;
  }
}