doc: add a statement in the documentation.

PR-URL: https://github.com/nodejs/node/pull/35585
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
This commit is contained in:
Pooja D.P 2020-10-10 20:22:02 +04:00 committed by Gireesh Punathil
parent 11f1ad939f
commit 50103bff5b
1 changed files with 1 additions and 0 deletions

View File

@ -71,6 +71,7 @@ substitution characters appropriate for the character encoding.
If the `buffer` argument is provided, one final call to `stringDecoder.write()`
is performed before returning the remaining input.
After `end()` is called, the `stringDecoder` object can be reused for new input.
### `stringDecoder.write(buffer)`
<!-- YAML