TextDecoderStream
interface TextDecoderStream {
readonly [[Symbol.toStringTag]]
: string;
readonly encoding
: string;
readonly fatal
: boolean;
readonly ignoreBOM
: boolean;
readonly readable
: ReadableStream<string>;
readonly writable
: WritableStream<BufferSource>;
}
var TextDecoderStream
: {
prototype: TextDecoderStream;
new (label?: string, options?: TextDecoderOptions): TextDecoderStream;
};
Properties
readonly [[Symbol.toStringTag]]
: string
readonly encoding
: string
Returns encoding's name, lowercased.
readonly fatal
: boolean
Returns true
if error mode is "fatal", and false
otherwise.
readonly ignoreBOM
: boolean
Returns true
if ignore BOM flag is set, and false
otherwise.
readonly readable
: ReadableStream<string>
readonly writable
: WritableStream<BufferSource>
© 2018–2022 the Deno authors
https://doc.deno.land/deno/stable/~/TextDecoderStream