Skip to content

WasmLocalInfo

Namespace: Dotsider.Core.Analysis.Models

Assembly: Dotsider.Core.dll

A run-length encoded local declaration inside a WebAssembly function body.

public sealed record WasmLocalInfo : IEquatable<WasmLocalInfo>

ObjectWasmLocalInfo

A run-length encoded local declaration inside a WebAssembly function body.

Parameters:

  • Count (UInt32): The number of locals in this run.
  • ValueType (Byte): The raw Wasm value type byte.
  • DisplayType (String): The display name of the value type.
public WasmLocalInfo(uint Count, byte ValueType, string DisplayType)

The number of locals in this run.

Returns: UInt32

public uint Count { get; init; }

The display name of the value type.

Returns: String

public string DisplayType { get; init; }

The raw Wasm value type byte.

Returns: Byte

public byte ValueType { get; init; }

Deconstruct(out uint, out byte, out string)

Section titled “Deconstruct(out uint, out byte, out string)”

Parameters:

public void Deconstruct(out uint Count, out byte ValueType, out string DisplayType)

Parameters:

Returns: Boolean

public override bool Equals(object? obj)

Parameters:

Returns: Boolean

public bool Equals(WasmLocalInfo? other)

Returns: Int32

public override int GetHashCode()

Returns: String

public override string ToString()

operator !=(WasmLocalInfo?, WasmLocalInfo?)

Section titled “operator !=(WasmLocalInfo?, WasmLocalInfo?)”

Parameters:

Returns: Boolean

public static bool operator !=(WasmLocalInfo? left, WasmLocalInfo? right)

operator ==(WasmLocalInfo?, WasmLocalInfo?)

Section titled “operator ==(WasmLocalInfo?, WasmLocalInfo?)”

Parameters:

Returns: Boolean

public static bool operator ==(WasmLocalInfo? left, WasmLocalInfo? right)