RichTextKit v0.4

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);


int utf16Offset

The utf-16 character index



The utf-32 code point index

Subscribe for more like this. No spam, just fun tech stuff :)

Or, find me on Twitter: @toptensoftware.