Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Method

CreateDecoder

abstract virtual func CreateDecoder() -> Decoder

Declaring type: Encoding
Module: System.Text
Assembly: System.Runtime.dll
Source file: Encoding.rvn

Defined by Encoding.CreateDecoder · Required implementation (no default).

Interface implementation: Required implementation (no default).

Creates an independent incremental decoder.

Return value

Decoder

A fresh decoder with no pending input.

Remarks

The decoder is single-consumer mutable state; it must not be shared between readers or used concurrently.