|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API size_t MayaFlux::Portal::Text::next_codepoint_offset | ( | std::string_view | text, |
| size_t | byte_offset | ||
| ) |
Byte offset of the codepoint boundary after byte_offset.
Steps forward exactly one codepoint using the same utf8proc decode lay_out() uses, so malformed sequences are skipped identically rather than by a separate continuation-byte mask. Returns text.size() if already at or past the end.
| text | UTF-8 encoded string. |
| byte_offset | Current byte offset, must be a codepoint boundary. |
Definition at line 183 of file TypeSetter.cpp.
Referenced by erase(), index_at(), and move().
Here is the caller graph for this function: