decodeCodepoint

fnCodepointDecodeResult decodeCodepoint(IStr str, Sz index = 0) @trusted nothrow @nogc @safe

Decodes a UTF-8 codepoint from str at index. On invalid data, returns a result with value == '?' and size == 1 when inside bounds.