Skip to content

WasmElementSegmentInfo

Namespace: Dotsider.Core.Analysis.Models

Assembly: Dotsider.Core.dll

One WebAssembly element segment declaration.

public sealed record WasmElementSegmentInfo : IEquatable<WasmElementSegmentInfo>

ObjectWasmElementSegmentInfo

WasmElementSegmentInfo(int, string, int?, string, int)

Section titled “WasmElementSegmentInfo(int, string, int?, string, int)”

One WebAssembly element segment declaration.

Parameters:

  • Index (Int32): The zero-based element segment index.
  • Mode (String): The decoded element segment mode.
  • TableIndex (Nullable<Int32>): The table index when the mode records one.
  • ElementType (String): The reference type or element kind.
  • ElementCount (Int32): The number of recorded element expressions or indices.
public WasmElementSegmentInfo(int Index, string Mode, int? TableIndex, string ElementType, int ElementCount)

The number of recorded element expressions or indices.

Returns: Int32

public int ElementCount { get; init; }

The reference type or element kind.

Returns: String

public string ElementType { get; init; }

The zero-based element segment index.

Returns: Int32

public int Index { get; init; }

The decoded element segment mode.

Returns: String

public string Mode { get; init; }

The table index when the mode records one.

Returns: Nullable<Int32>

public int? TableIndex { get; init; }