File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -63,8 +63,7 @@ Creates a new `StringDecoder` instance.
6363added: v0.9.3
6464-->
6565
66- * ` buffer ` {Buffer|TypedArray|DataView} A ` Buffer ` , or ` TypedArray ` , or
67- ` DataView ` containing the bytes to decode.
66+ * ` buffer ` {string|Buffer|TypedArray|DataView} The bytes to decode.
6867* Returns: {string}
6968
7069Returns any remaining input stored in the internal buffer as a string. Bytes
@@ -86,8 +85,7 @@ changes:
8685 character instead of one for each individual byte.
8786-->
8887
89- * ` buffer ` {Buffer|TypedArray|DataView} A ` Buffer ` , or ` TypedArray ` , or
90- ` DataView ` containing the bytes to decode.
88+ * ` buffer ` {string|Buffer|TypedArray|DataView} The bytes to decode.
9189* Returns: {string}
9290
9391Returns a decoded string, ensuring that any incomplete multibyte characters at
You can’t perform that action at this time.
0 commit comments