Skip to content

WasmTypeInfo

Namespace: Dotsider.Core.Analysis.Models

Assembly: Dotsider.Core.dll

One WebAssembly function type from the type section.

public sealed record WasmTypeInfo : IEquatable<WasmTypeInfo>

ObjectWasmTypeInfo

WasmTypeInfo(int, IReadOnlyList<byte>, IReadOnlyList<byte>)

Section titled “WasmTypeInfo(int, IReadOnlyList<byte>, IReadOnlyList<byte>)”

One WebAssembly function type from the type section.

Parameters:

public WasmTypeInfo(int Index, IReadOnlyList<byte> ParamTypes, IReadOnlyList<byte> ResultTypes)

The zero-based type index.

Returns: Int32

public int Index { get; init; }

The raw WebAssembly parameter value-type bytes.

Returns: IReadOnlyList<Byte>

public IReadOnlyList<byte> ParamTypes { get; init; }

The raw WebAssembly result value-type bytes.

Returns: IReadOnlyList<Byte>

public IReadOnlyList<byte> ResultTypes { get; init; }

Deconstruct(out int, out IReadOnlyList<byte>, out IReadOnlyList<byte>)

Section titled “Deconstruct(out int, out IReadOnlyList<byte>, out IReadOnlyList<byte>)”

Parameters:

public void Deconstruct(out int Index, out IReadOnlyList<byte> ParamTypes, out IReadOnlyList<byte> ResultTypes)

Parameters:

Returns: Boolean

public override bool Equals(object? obj)

Parameters:

Returns: Boolean

public bool Equals(WasmTypeInfo? other)

Returns: Int32

public override int GetHashCode()

Returns: String

public override string ToString()

Parameters:

Returns: Boolean

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

Parameters:

Returns: Boolean

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