[doc] Add a note about parameter validation

This commit is contained in:
Luigi Pinca
2024-10-26 20:36:51 +02:00
parent 22071af3a3
commit 24e323b344
+3 -1
View File
@@ -18,7 +18,9 @@ key.
## API
The module exports a single function which takes one argument.
The module exports a single function that takes one argument. To maximize
performance, the argument is not validated. It is the caller's responsibility to
ensure that it is correct.
### `isValidUTF8(buffer)`