Method
CreateEncoder
abstract virtual func CreateEncoder() -> Encoder
Declaring type: Encoding
Module: System.Text
Assembly: System.Runtime.dll
Source file: Encoding.rvn
Defined by Encoding.CreateEncoder · Required implementation (no default).
Interface implementation: Required implementation (no default).
Creates an independent incremental text-to-byte encoder.
Return value
A fresh Encoder ready to accept valid text.
Remarks
Development addition. Custom Encoding implementations must implement this factory; do not reuse mutable conversion state between writers or assume arbitrary whole-value Encode calls are composable.