arrayCopy function

List<int> arrayCopy(
  1. dynamic bytes,
  2. dynamic srcOffset,
  3. dynamic result,
  4. dynamic destOffset,
  5. dynamic bytesLength
)

Implementation

List<int> arrayCopy(bytes, srcOffset, result, destOffset, bytesLength) {
  for (var i = srcOffset; i < bytesLength; i++) {
    result[destOffset + i] = bytes[i];
  }
  return result;
}