mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
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:
1 parent
0be14def2c
commit
31b5ed49e0
20 files changed
+180
-24
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user