doc: add and unify even more return values

PR-URL: https://github.com/nodejs/node/pull/19955
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
Vse Mozhet Byt authored and James M Snell committed 2018-04-16 16:05:53 -07:00
1 parent 0be14def2c
commit 31b5ed49e0
20 files changed
+180 -24

No files matched your search

+2
View File
@@ -58,6 +58,7 @@ added: v0.9.3
-->
* `buffer` {Buffer} A `Buffer` containing the bytes to decode.
* Returns: {string}
Returns any remaining input stored in the internal buffer as a string. Bytes
representing incomplete UTF-8 and UTF-16 characters will be replaced with
@@ -77,6 +78,7 @@ changes:
-->
* `buffer` {Buffer} A `Buffer` containing the bytes to decode.
* Returns: {string}
Returns a decoded string, ensuring that any incomplete multibyte characters at
the end of the `Buffer` are omitted from the returned string and stored in an