Skip to content

Commit 9ab677c

Browse files
author
pluris
committed
fixup! doc: modify param decription for end(),write() in StringDecoder
1 parent 650ea3b commit 9ab677c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/api/string_decoder.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ Creates a new `StringDecoder` instance.
6363
added: v0.9.3
6464
-->
6565

66-
* `buffer` {string|Buffer|TypedArray|DataView} A `Buffer`, or `TypedArray`, or
67-
`DataView` containing the bytes to decode.
66+
* `buffer` {string|Buffer|TypedArray|DataView} A `string`, or `Buffer`, or
67+
`TypedArray`, or `DataView` containing the bytes to decode.
6868
* Returns: {string}
6969

7070
Returns any remaining input stored in the internal buffer as a string. Bytes
@@ -86,8 +86,8 @@ changes:
8686
character instead of one for each individual byte.
8787
-->
8888

89-
* `buffer` {string|Buffer|TypedArray|DataView} A `Buffer`, or `TypedArray`, or
90-
`DataView` containing the bytes to decode.
89+
* `buffer` {string|Buffer|TypedArray|DataView} A `string`, or `Buffer`, or
90+
`TypedArray`, or `DataView` containing the bytes to decode.
9191
* Returns: {string}
9292

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

0 commit comments

Comments
 (0)