Show / Hide Table of Contents

Namespace WasmerSharp

Classes

Export

Represents an exported object from a Wasm Instance

ExportDescriptor

Represents an export from a web assembly module

ExportFunction

Represents an ExportedFunction from WebAssembly to .NET

Global

Represents a Global variable instance, importable/exportable across multiple modules.

Import

Use this class to create the various Import objects (Globals, Memory, Function and Tables)

ImportDescriptor

The import descriptors for a WebAssembly module describe the type of each import, iits name and the module name it belongs to.

ImportFunction

Support for surfacing .NET functions to the Wasm module.

Instance

Instances represents all the state associated with a module. These are created by calling Module.Instantiate or by calling the Instance constructor.

Memory

Represents the WebAssembly memory. Memory is allocated in pages, which are 64k bytes in size.

Module

Represents a WebAssembly module, created from a byte array containing the WebAssembly code.

SerializedModule

Modules can either be serialized to byte arrays, or created from a serialized state (byte arrays). This class provides this bridge.

Table

Represents a Wasmer Table. Use the Create static method to create new instances of the table.

WasmerNativeHandle

This wraps a native handle and takes care of disposing the handles they wrap. Due to the design of the Wasmer API that can

Structs

InstanceContext

An instance of this type is provided as the first parameter of imported functions and can be used to get some contextual information from the callback to operate on: the global Data set for the instance as well as the associated memory.

WasmerValue

This object can wrap an int, long, float or double. The Tag property describes the actual payload, and the I32, I64, F32 and F64 fields provide access to the underlying data. Implicit conversion from those data types to WasmerValue exist, and explicit conversions from a WasmerValue to those types exist.

Enums

ImportExportKind

Describes the kind of export or import

WasmerValueType

Describes the types exposed by the WasmerBridge

Back to top Copyright © 2015-2017 Microsoft
Generated by DocFX