File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,16 +19,6 @@ Build and link `is_utf8.cpp` with your project. Code usage:
1919
2020It should be able to validate strings using less than 1 cycle per input byte.
2121
22- ## Real-word usage
23-
24- This C++ library is part of the JavaScript package
25- [ utf-8-validate] ( https://github.com/websockets/utf-8-validate ) . The
26- utf-8-validate package is routinely downloaded more than
27- [ a million times per week] ( https://www.npmjs.com/package/utf-8-validate ) .
28-
29- If you are using Node JS (19.4.0 or better), you already have access to this
30- function as ` buffer.isUtf8(...) ` .
31-
3222## Requirements
3323
3424- C++11 compatible compiler. We support LLVM clang, GCC, Visual Studio. (Our
@@ -46,6 +36,16 @@ function as `buffer.isUtf8(...)`.
4636 upgrade binutils to version 2.30 or better under Linux) or use an older
4737 compiler matching the capabilities of your assembler.
4838
39+ ## Real-word usage
40+
41+ This C++ library is part of the JavaScript package
42+ [ utf-8-validate] ( https://github.com/websockets/utf-8-validate ) . The
43+ utf-8-validate package is routinely downloaded more than
44+ [ a million times per week] ( https://www.npmjs.com/package/utf-8-validate ) .
45+
46+ If you are using Node JS (19.4.0 or better), you already have access to this
47+ function as ` buffer.isUtf8(...) ` .
48+
4949## Reference
5050
5151- John Keiser, Daniel Lemire,
You can’t perform that action at this time.
0 commit comments