Skip to content

Commit ab493a8

Browse files
author
pluris
committed
doc: simplify the description for StringDecoder
1 parent 9ab677c commit ab493a8

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

doc/api/string_decoder.md

Lines changed: 2 additions & 4 deletions
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` {string|Buffer|TypedArray|DataView} A `string`, or `Buffer`, or
67-
`TypedArray`, or `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` {string|Buffer|TypedArray|DataView} A `string`, or `Buffer`, or
90-
`TypedArray`, or `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)