Skip to main content

Class Module

Represents a core WebAssembly module.

Assembly: WaaS.Core.dll
View Source
Declaration
public class Module

Properties

Preamble

View Source
Declaration
public Preamble Preamble { get; }

Sections

View Source
Declaration
public ReadOnlyMemory<Section> Sections { get; }

InternalFunctions

View Source
Declaration
public ReadOnlyMemory<Function> InternalFunctions { get; }

MemorySection

View Source
Declaration
public MemorySection MemorySection { get; }

ImportSection

View Source
Declaration
public ImportSection ImportSection { get; }

GlobalSection

View Source
Declaration
public GlobalSection GlobalSection { get; }

ElementSection

View Source
Declaration
public ElementSection ElementSection { get; }

TableSection

View Source
Declaration
public TableSection TableSection { get; }

DataSection

View Source
Declaration
public DataSection DataSection { get; }

StartSection

View Source
Declaration
public StartSection StartSection { get; }

ExportSection

View Source
Declaration
public ExportSection ExportSection { get; }

TypeSection

View Source
Declaration
public TypeSection TypeSection { get; }

SourceDescription

View Source
Declaration
public string SourceDescription { get; set; }

Methods

Create(ReadOnlySpan<byte>)

View Source
Declaration
public static Module Create(ReadOnlySpan<byte> buffer)
Returns

WaaS.Models.Module

Parameters
TypeName
System.ReadOnlySpan<System.Byte>buffer

Create(ReadOnlySequence<byte>)

View Source
Declaration
public static Module Create(ReadOnlySequence<byte> buffer)
Returns

WaaS.Models.Module

Parameters
TypeName
System.Buffers.ReadOnlySequence<System.Byte>buffer