Table of Contents

Class TextDecoderStream

Namespace
CSharpToJavaScript.APIs.JS
Assembly
CSharpToJavaScript.dll

The TextDecoderStream interface of the 'Encoding API' converts a stream of text in a binary encoding, such as UTF-8 etc., to a stream of strings.
It is the streaming equivalent of TextDecoder.
It implements the same shape as a TransformStream, allowing it to be used in PipeThrough(ReadableWritablePair, StreamPipeOptions) and similar methods.

[Value("TextDecoderStream")]
public class TextDecoderStream : TextDecoderCommon, GenericTransformStream
Inheritance
TextDecoderStream
Implements
Inherited Members

Remarks

Constructors

TextDecoderStream()

public TextDecoderStream()

TextDecoderStream(string, TextDecoderOptions)

The TextDecoderStream() constructor creates a new TextDecoderStream object which is used to convert a stream of text in a binary encoding into strings.

public TextDecoderStream(string label = null, TextDecoderOptions options = null)

Parameters

label string
options TextDecoderOptions

Remarks