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 v0.9.3-preview.1+25e440d1e668df920a8d3889de73cea026e5710c.