string.getUCharUnits

nuint getUCharUnits(const char[] this, nuint unit)

Gets the number of UTF-8 code units used by the scalar at an index.

Parameters

const char[]
this
nuint
unit

UTF-8 code-unit index.

Generated with campc 0.12.0-preview.1.