klyn.Char.utf8SequenceLength
property
public readonly property utf8SequenceLength as UInt:
Description

Returns the number of UTF-8 bytes required for this Char.

Returns

A value from 1 through 4.

Example
assert 'K'.utf8SequenceLength == 1u
assert '😀'.utf8SequenceLength == 4u