Converts an ArrayBuffer to a string using the specified encoding.
ArrayBuffer
The ArrayBuffer to convert.
The character encoding to use. Supported values: "utf-8", "utf-16le", "utf-16be", "iso-8859-1", or "windows-1252". Defaults to "utf-8".
"utf-8"
"utf-16le"
"utf-16be"
"iso-8859-1"
"windows-1252"
The decoded string.
Converts an
ArrayBuffer
to a string using the specified encoding.