LoadCodepoints method
Implementation
@override
Int32List LoadCodepoints(
String text,
) => run(
() => RaylibDebugLabels.LoadCodepoints(text),
() {
final count = rl.Temp.Int$.Ref1();
final result = rl.Core.LoadCodepoints(
rl.Temp.String$.ValueOrNull(text),
count,
);
try {
return .fromList(.generate(count.value, (i) => result[i]));
} finally {
rl.Core.UnloadCodepoints(result);
}
},
);