Skip to content

Commit d70af99

Browse files
authored
Update README.md
1 parent 63cb4ac commit d70af99

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ Its implementation is successfully in the middle between small memory footprint
3333
- Supports raw (Byte-based) access for occasions where Speed is needed
3434
- Supports `shrink_to_fit()`
3535
- Malformed UTF8 sequences will **lead to defined behaviour**
36+
- `size()` returns the size of the data, `length()` returns the number of codepoints contained.
3637

3738
## THE PURPOSE OF TINY-UTF8
3839
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

Comments
 (0)