WasmI31Reference Class

An unboxed scalar reference (ref.i31).

public sealed class WasmI31Reference

Constructors

NameDescription
WasmI31Reference(int)An unboxed scalar reference (ref.i31).

WasmI31Reference(int)

WasmValue.cs

An unboxed scalar reference (ref.i31).

public WasmI31Reference(int value)

Parameters

value int
The signed value, in the range [-2^30, 2^30 - 1].

Properties

NameDescription
ValueGets the signed value, in the range [-2^30, 2^30 - 1].

Gets the signed value, in the range [-2^30, 2^30 - 1].

public int Value { get; }

Property value

int

Methods

NameDescription
ToString()Returns a string that represents the current object.

ToString()

WasmValue.cs

Returns a string that represents the current object.

public override string ToString()

Returns

string A string that represents the current object.