doc: modify param description for end(),write() in StringDecoder
PR-URL: https://github.com/nodejs/node/pull/49285 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Deokjin Kim <deokjin81.kim@gmail.com>
This commit is contained in:
parent
5ff1ead6b2
commit
a494ef68f3
@ -63,8 +63,7 @@ Creates a new `StringDecoder` instance.
|
|||||||
added: v0.9.3
|
added: v0.9.3
|
||||||
-->
|
-->
|
||||||
|
|
||||||
* `buffer` {Buffer|TypedArray|DataView} A `Buffer`, or `TypedArray`, or
|
* `buffer` {string|Buffer|TypedArray|DataView} The bytes to decode.
|
||||||
`DataView` containing the bytes to decode.
|
|
||||||
* Returns: {string}
|
* Returns: {string}
|
||||||
|
|
||||||
Returns any remaining input stored in the internal buffer as a string. Bytes
|
Returns any remaining input stored in the internal buffer as a string. Bytes
|
||||||
@ -86,8 +85,7 @@ changes:
|
|||||||
character instead of one for each individual byte.
|
character instead of one for each individual byte.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
* `buffer` {Buffer|TypedArray|DataView} A `Buffer`, or `TypedArray`, or
|
* `buffer` {string|Buffer|TypedArray|DataView} The bytes to decode.
|
||||||
`DataView` containing the bytes to decode.
|
|
||||||
* Returns: {string}
|
* Returns: {string}
|
||||||
|
|
||||||
Returns a decoded string, ensuring that any incomplete multibyte characters at
|
Returns a decoded string, ensuring that any incomplete multibyte characters at
|
||||||
|
Loading…
x
Reference in New Issue
Block a user