web_assembly

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Rendered for js/wasm

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compile

func Compile(bufferSource js.Value) goji.PromiseValue

Compile is a wrapper for the WebAssembly compile static method.

https://developer.mozilla.org/en-US/docs/WebAssembly/JavaScript_interface/compile_static

func Instantiate

func Instantiate(bufferSourceOrModule js.Value, importObject js.Value) goji.PromiseValue

Instantiate is a wrapper for the WebAssembly instantiate static method.

https://developer.mozilla.org/en-US/docs/WebAssembly/JavaScript_interface/instantiate_static

func Validate

func Validate(bufferSource js.Value) bool

Validate is a wrapper for the WebAssembly validate static method.

https://developer.mozilla.org/en-US/docs/WebAssembly/JavaScript_interface/validate_static

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL