new StringDecoder([encoding])


  • encoding <string> StringDecoder 将会使用的字符编码默认值: 'utf8'

创建一个新的 StringDecoder 实例。

  • encoding <string> The character encoding the StringDecoder will use. Default: 'utf8'.

Creates a new StringDecoder instance.