We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
nodejs
Learn more about funding links in repositories.
Report abuse
StringDecoder
1 parent 075c57e commit 9ca85b5Copy full SHA for 9ca85b5
doc/api/string_decoder.md
@@ -63,8 +63,7 @@ Creates a new `StringDecoder` instance.
63
added: v0.9.3
64
-->
65
66
-* `buffer` {Buffer|TypedArray|DataView} A `Buffer`, or `TypedArray`, or
67
- `DataView` containing the bytes to decode.
+* `buffer` {string|Buffer|TypedArray|DataView} The bytes to decode.
68
* Returns: {string}
69
70
Returns any remaining input stored in the internal buffer as a string. Bytes
@@ -86,8 +85,7 @@ changes:
86
85
character instead of one for each individual byte.
87
88
89
90
91
92
93
Returns a decoded string, ensuring that any incomplete multibyte characters at
0 commit comments