Turn an ArrayBuffer or Uint8Array of UTF8 data into a string.
npm install decode-utf8Turn an ArrayBuffer or Uint8Array of UTF8 data into a string.
``js`
npm install --save decode-uf8
`js
const decodeUtf8 = require('decode-utf8')
console.log(decodeUtf8(Uint8Array.of(72, 101, 108, / ... / 108, 100, 33)))
//=> Hello, World!
console.log(decodeUtf8(Uint8Array.of(240, 159, 144, / ... / 159, 153, 138)))
//=> 🐵 🙈 🙉 🙊
`
Returns a string representing the input` data interpreted as UTF8.