WASIComponentCanonicalStringEncoding enum

Canonical string encoding used by Component Model memory adapters.

Inheritance
  • Object
  • Enum
  • WASIComponentCanonicalStringEncoding
Available extensions

Values

utf8 → const WASIComponentCanonicalStringEncoding

UTF-8 canonical string encoding.

utf16 → const WASIComponentCanonicalStringEncoding

UTF-16LE canonical string encoding.

latin1Utf16 → const WASIComponentCanonicalStringEncoding

Latin1+UTF-16 canonical string encoding.

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

fromCanonicalOptions(List<WasmComponentCanonicalOption> options) → WASIComponentCanonicalStringEncoding
Resolves the string encoding selected by decoded canonical options.

Constants

values → const List<WASIComponentCanonicalStringEncoding>
A constant List of the values in this enum, in order of their declaration.