mirror of
https://github.com/hanzoai/utf-8-validate.git
synced 2026-09-24 17:03:57 +00:00
[doc] Add a note about parameter validation
This commit is contained in:
@@ -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)`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user