WasmTableType Class

A table type (https://webassembly.github.io/spec/core/syntax/types.html#table-types).

public sealed class WasmTableType : WasmExternType
Inheritance
WasmExternType WasmTableType

Constructors

NameDescription
WasmTableType(WasmValueType, ulong, ulong?, bool)A table type (https://webassembly.github.io/spec/core/syntax/types.html#table-types).

WasmTableType(WasmValueType, ulong, ulong?, bool)

WasmTypes.cs

A table type (https://webassembly.github.io/spec/core/syntax/types.html#table-types).

public WasmTableType(WasmValueType elementType, ulong minimum, ulong? maximum, bool is64 = false)

Parameters

elementType WasmValueType
The type of the elements (a reference type).
minimum ulong
The initial number of elements.
maximum ulong?
The maximum number of elements, or null.
is64 bool
Whether the indices are 64-bit.

Properties

NameDescription
ElementTypeGets the type of the elements.
Is64Gets a value indicating whether the indices are 64-bit.
KindGets the kind of the type.
MaximumGets the maximum number of elements, or null.
MinimumGets the initial number of elements.

ElementType

WasmTypes.cs

Gets the type of the elements.

public WasmValueType ElementType { get; }

Property value

WasmValueType

Gets a value indicating whether the indices are 64-bit.

public bool Is64 { get; }

Property value

bool

Gets the kind of the type.

public override WasmExternKind Kind { get; }

Property value

WasmExternKind

Gets the maximum number of elements, or null.

public ulong? Maximum { get; }

Property value

ulong?

Gets the initial number of elements.

public ulong Minimum { get; }

Property value

ulong