RichTextKit v0.1

Utf32Buffer.Utf16OffsetToUtf32Offset Method

Assembly: Topten.RichTextKit.dll
Namespace: Topten.RichTextKit.Utils
Declaring Type: Utf32Buffer

Converts an offset in the original UTF-16 string, a code point index into this UTF-32 buffer.

public int Utf16OffsetToUtf32Offset(int utf16Offset);

Parameters

int utf16Offset

The utf-16 character index

Returns

int

The utf-32 code point index