Skip to content

Latest commit

 

History

History
15 lines (13 loc) · 568 Bytes

File metadata and controls

15 lines (13 loc) · 568 Bytes
  • buffer {Buffer} A Buffer containing the bytes to decode.

Returns a decoded string, ensuring that any incomplete multibyte characters at the end of the Buffer are omitted from the returned string and stored in an internal buffer for the next call to stringDecoder.write() or stringDecoder.end().