Skip to content

WasmGlobalInfo

Namespace: Dotsider.Core.Analysis.Models

Assembly: Dotsider.Core.dll

One WebAssembly global declaration.

public sealed record WasmGlobalInfo : IEquatable<WasmGlobalInfo>

ObjectWasmGlobalInfo

One WebAssembly global declaration.

Parameters:

  • Index (Int32): The zero-based global index.
  • ValueType (Byte): The raw WebAssembly value-type byte.
  • ValueTypeName (String): The display name for the value type.
  • IsMutable (Boolean): Whether the global is mutable.
public WasmGlobalInfo(int Index, byte ValueType, string ValueTypeName, bool IsMutable)

The zero-based global index.

Returns: Int32

public int Index { get; init; }

Whether the global is mutable.

Returns: Boolean

public bool IsMutable { get; init; }

The raw WebAssembly value-type byte.

Returns: Byte

public byte ValueType { get; init; }

The display name for the value type.

Returns: String

public string ValueTypeName { get; init; }