阿西河

所有教程

公众号
🌙
阿西河前端的公众号

我的收藏

    最近访问  (文章)

      教程列表

      抓包专区
      测试专区

      Node.js textDecoder.decode

      Node.js textDecoder.decode([input[, options]])

      • input||An ArrayBuffer, DataView or Typed Array instance containing the encoded data.
      • options < Object>
        • stream < boolean> true if additional chunks of data are expected. Default: false.
      • Returns: < string>

      Decodes the input and returns a string. If options.stream is true, any incomplete byte sequences occurring at the end of the input are buffered internally and emitted after the next call to textDecoder.decode().

      If textDecoder.fatal is true, decoding errors that occur will result in a TypeError being thrown.


      更多内容请参考:Node.js util 实用工具,或者通过 点击对应菜单 进行查看;


      目录
      本文目录
      目录