* Return the number of bytes (including the null terminator) in the given UTF-8 string. */
| 104 | * Return the number of bytes (including the null terminator) in the given UTF-8 string. |
| 105 | */ |
| 106 | size_t GetStringSize(const utf8* text) |
| 107 | { |
| 108 | return GetStringEnd(text) - text + 1; |
| 109 | } |