VecChar.fromList constructor
Implementation
factory VecChar.fromList(List<int> pts) {
final length = pts.length;
final pdata = calloc<ffi.Char>(length);
pdata.cast<I8>().asTypedList(length).setRange(0, length, pts);
final p = calloc<cvg.VecChar>()
..ref.length = length
..ref.ptr = pdata;
return VecChar.fromPointer(p);
}