Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
class TextDecoder
import { TextDecoder } from "https://deno.land/x/darkflare@v5.0.3/types/mod.d.ts";

Constructors

new
TextDecoder(label?: "utf-8" | "utf8" | "unicode-1-1-utf-8", options?: TextDecoderConstructorOptions)

Properties

readonly
encoding: string
readonly
fatal: boolean
readonly
ignoreBOM: boolean

Methods

decode(input?: ArrayBuffer | ArrayBufferView, options?: TextDecoderDecodeOptions): string