|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API size_t MayaFlux::Portal::Text::previous_codepoint_offset | ( | std::string_view | text, |
| size_t | byte_offset | ||
| ) |
Byte offset of the codepoint boundary before byte_offset.
Walks backward over continuation-pattern bytes to the start of the preceding codepoint. Returns 0 if byte_offset is already 0.
| text | UTF-8 encoded string. |
| byte_offset | Current byte offset, must be a codepoint boundary. |
Definition at line 198 of file TypeSetter.cpp.
Referenced by erase(), index_at(), and move().
Here is the caller graph for this function: