LoadUTF8 method
Load UTF-8 text encoded from codepoints array
Implementation
String LoadUTF8(
Int32List codepoints,
) => run(
() => _debugLabels.LoadUTF8(codepoints),
() {
final utf8 = _flat.LoadUTF8(
$.Int$.Array(codepoints),
codepoints.length,
);
try {
return utf8.toDartString();
} finally {
_flat.UnloadUTF8(utf8);
}
},
);