Skip to content

Commit 650ea3b

Browse files
author
pluris
committed
doc: modify param decription for end(),write() in StringDecoder
1 parent 62b2cf3 commit 650ea3b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/string_decoder.md

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

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

@@ -86,7 +86,7 @@ changes:
8686
character instead of one for each individual byte.
8787
-->
8888

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

0 commit comments

Comments
 (0)