Skip to content

Commit fefbdb9

Browse files
Jungku LeeUlisesGascon
Jungku Lee
authored andcommitted
doc: modify param description for end(),write() in StringDecoder
PR-URL: #49285 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Deokjin Kim <[email protected]>
1 parent cade571 commit fefbdb9

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

doc/api/string_decoder.md

+2-4
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,7 @@ Creates a new `StringDecoder` instance.
6363
added: 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

7069
Returns 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

9391
Returns a decoded string, ensuring that any incomplete multibyte characters at

0 commit comments

Comments
 (0)