method StringDecoder.prototype.write
Jump to headingStringDecoder.prototype.write(buffer: string
| Buffer
| ArrayBufferView): stringReturns a decoded string, ensuring that any incomplete multibyte characters at
the end of the Buffer, or TypedArray, or DataView are omitted from the
returned string and stored in an internal buffer for the next call to stringDecoder.write() or stringDecoder.end().
Parameters Jump to heading
Jump to headingbuffer: string
| Buffer
| ArrayBufferViewThe bytes to decode.
Return Type Jump to heading
string