WasmElementSegmentInfo
Namespace: Dotsider.Core.Analysis.Models
Assembly: Dotsider.Core.dll
One WebAssembly element segment declaration.
public sealed record WasmElementSegmentInfo : IEquatable<WasmElementSegmentInfo>Inheritance
Section titled “Inheritance”Object → WasmElementSegmentInfo
Implements
Section titled “Implements”Constructors
Section titled “Constructors”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)Properties
Section titled “Properties”ElementCount
Section titled “ElementCount”The number of recorded element expressions or indices.
Returns: Int32
public int ElementCount { get; init; }ElementType
Section titled “ElementType”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; }TableIndex
Section titled “TableIndex”The table index when the mode records one.
Returns: Nullable<Int32>
public int? TableIndex { get; init; }