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

API Browser

Union

EncoderState

union struct EncoderState

Module: System.Text
Assembly: System.Runtime.dll
Source file: EncoderState.rvn

Inheritance: Object → ValueType → EncoderState

Describes pending output, readiness for input or final completion.

Remarks

Development standard Raven union. The inactive default is not a valid progress state.

Cases

3 cases

Properties

2 items
HasValue: bool Whether a state case is active.
Value: object? The active case value, or null for an inactive default.

Methods

4 items
Equals(other: object?) -> bool Tests reference identity by default; an ordinary class may override equality. Inherited from Object.Equals
GetHashCode() -> int Returns a stable identity hash by default; an ordinary class may override it consistently with equality. Inherited from Object.GetHashCode
GetType() -> TypeInfo Returns metadata for the concrete runtime type of this instance. Inherited from Object.GetType
ToString() -> string Returns the active case name or Empty for an inactive default. Overrides Object.ToString