WasmGlobalInfo
Namespace: Dotsider.Core.Analysis.Models
Assembly: Dotsider.Core.dll
One WebAssembly global declaration.
public sealed record WasmGlobalInfo : IEquatable<WasmGlobalInfo>Inheritance
Section titled “Inheritance”Object → WasmGlobalInfo
Implements
Section titled “Implements”Constructors
Section titled “Constructors”WasmGlobalInfo(int, byte, string, bool)
Section titled “WasmGlobalInfo(int, byte, string, bool)”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)Properties
Section titled “Properties”The zero-based global index.
Returns: Int32
public int Index { get; init; }IsMutable
Section titled “IsMutable”Whether the global is mutable.
Returns: Boolean
public bool IsMutable { get; init; }ValueType
Section titled “ValueType”The raw WebAssembly value-type byte.
Returns: Byte
public byte ValueType { get; init; }ValueTypeName
Section titled “ValueTypeName”The display name for the value type.
Returns: String
public string ValueTypeName { get; init; }