You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+1
Original file line number
Diff line number
Diff line change
@@ -33,6 +33,7 @@ Its implementation is successfully in the middle between small memory footprint
33
33
- Supports raw (Byte-based) access for occasions where Speed is needed
34
34
- Supports `shrink_to_fit()`
35
35
- Malformed UTF8 sequences will **lead to defined behaviour**
36
+
-`size()` returns the size of the data, `length()` returns the number of codepoints contained.
36
37
37
38
## THE PURPOSE OF TINY-UTF8
38
39
Back when I decided to write a UTF8 solution for C++, I knew I wanted a drop-in replacement for `std::string`. At the time mostly because I found it neat to have one and felt C++ always lacked accessible support for UTF8. Since then, several years have passed and the situation has not improved much. That said, things currently look like they are about to improve - but that doesn't say much, does it?
0 commit comments