Skip to content

Commit b06b6ed

Browse files
authored
Update README.md
1 parent 1bf686e commit b06b6ed

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ quickly before accepting them is important.
55

66

77

8-
98
## How to use is_utf8
109

1110
This is a simple one-source file library to validate UTF-8 strings at high speeds using SIMD instructions. It works on all platforms (ARM, x64).
@@ -21,6 +20,11 @@ Build and link `is_utf8.cpp` with your project. Code usage:
2120

2221
It should be able to validate strings using less than 1 cycle per input byte.
2322

23+
Real-word usage
24+
------
25+
26+
If you are using Node JS (19.4.0 or better), you already have access to this function as `buffer.isUtf8(...)`.
27+
2428
Requirements
2529
-------
2630

0 commit comments

Comments
 (0)