mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:27:45 +00:00
AK: Add Utf8View::length_in_codepoints()
This commit is contained in:
parent
1469d20e63
commit
6cde7e4d20
2 changed files with 12 additions and 0 deletions
|
@ -72,6 +72,8 @@ public:
|
|||
|
||||
bool validate() const;
|
||||
|
||||
size_t length_in_codepoints() const;
|
||||
|
||||
private:
|
||||
const unsigned char* begin_ptr() const;
|
||||
const unsigned char* end_ptr() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue