![]() |
NDEVR
API Documentation
|
Iterates over a UTF8 encoded string and returns the values as UTF16. More...
Public Member Functions | |
| UTF8Iterator (const StringView &string) | |
| Constructs a UTF8Iterator from a StringView. | |
| uint04 | location (const StringView &original_string) const |
| Returns the current byte offset within the original string. | |
| wchar | nextChar () |
| Reads and returns the next UTF16 character, advancing the iterator. | |
Protected Attributes | |
| StringView | string |
| The remaining portion of the string being iterated. | |
Iterates over a UTF8 encoded string and returns the values as UTF16.
Definition at line 826 of file StringView.h.
| UTF8Iterator::UTF8Iterator | ( | const StringView & | string | ) |
Constructs a UTF8Iterator from a StringView.
| [in] | string | The UTF8-encoded StringView to iterate over. |
| uint04 UTF8Iterator::location | ( | const StringView & | original_string | ) | const |
Returns the current byte offset within the original string.
| [in] | original_string | The original StringView to compute the offset from. |
| wchar UTF8Iterator::nextChar | ( | ) |
Reads and returns the next UTF16 character, advancing the iterator.