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; }Methods
Section titled “Methods”Deconstruct(out int, out IReadOnlyList<byte>, out IReadOnlyList<byte>)
Section titled “Deconstruct(out int, out IReadOnlyList<byte>, out IReadOnlyList<byte>)”Parameters:
Index(Int32)ParamTypes(IReadOnlyList<Byte>)ResultTypes(IReadOnlyList<Byte>)
public void Deconstruct(out int Index, out IReadOnlyList<byte> ParamTypes, out IReadOnlyList<byte> ResultTypes)Equals(object?)
Section titled “Equals(object?)”Parameters:
obj(Object)
Returns: Boolean
public override bool Equals(object? obj)Equals(WasmTypeInfo?)
Section titled “Equals(WasmTypeInfo?)”Parameters:
other(WasmTypeInfo)
Returns: Boolean
public bool Equals(WasmTypeInfo? other)GetHashCode()
Section titled “GetHashCode()”Returns: Int32
public override int GetHashCode()ToString()
Section titled “ToString()”Returns: String
public override string ToString()Members
Section titled “Members”operator !=(WasmTypeInfo?, WasmTypeInfo?)
Section titled “operator !=(WasmTypeInfo?, WasmTypeInfo?)”Parameters:
left(WasmTypeInfo)right(WasmTypeInfo)
Returns: Boolean
public static bool operator !=(WasmTypeInfo? left, WasmTypeInfo? right)operator ==(WasmTypeInfo?, WasmTypeInfo?)
Section titled “operator ==(WasmTypeInfo?, WasmTypeInfo?)”Parameters:
left(WasmTypeInfo)right(WasmTypeInfo)
Returns: Boolean
public static bool operator ==(WasmTypeInfo? left, WasmTypeInfo? right)