WasmTypeInfo
Namespace: Dotsider.Core.Analysis.Models
Assembly: Dotsider.Core.dll
One WebAssembly function type from the type section.
public sealed record WasmTypeInfo : IEquatable<WasmTypeInfo>Inheritance
Section titled “Inheritance”Object → WasmTypeInfo
Implements
Section titled “Implements”Constructors
Section titled “Constructors”WasmTypeInfo(int, IReadOnlyList<byte>, IReadOnlyList<byte>)
Section titled “WasmTypeInfo(int, IReadOnlyList<byte>, IReadOnlyList<byte>)”One WebAssembly function type from the type section.
Parameters:
Index(Int32): The zero-based type index.ParamTypes(IReadOnlyList<Byte>): The raw WebAssembly parameter value-type bytes.ResultTypes(IReadOnlyList<Byte>): The raw WebAssembly result value-type bytes.
public WasmTypeInfo(int Index, IReadOnlyList<byte> ParamTypes, IReadOnlyList<byte> ResultTypes)Properties
Section titled “Properties”The zero-based type index.
Returns: Int32
public int Index { get; init; }ParamTypes
Section titled “ParamTypes”The raw WebAssembly parameter value-type bytes.
Returns: IReadOnlyList<Byte>
public IReadOnlyList<byte> ParamTypes { get; init; }ResultTypes
Section titled “ResultTypes”The raw WebAssembly result value-type bytes.
Returns: IReadOnlyList<Byte>
public IReadOnlyList<byte> ResultTypes { get; init; }