//
pkg.gl
Category
github.com/stealthrocket/wazergo
wasm
package
0.19.1
Repository:
https://github.com/stealthrocket/wazergo.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
4
Dependents
4
Files
138 SLOC
#
Functions
NewFixedSizeMemory
NewFixedSizeMemory constructs a Memory instance of size bytes aligned on the WebAssembly page size.
Read
Read returns a byte slice from a module memory.
#
Constants
PageSize
PageSize is the size of memory pages in WebAssembly programs (64 KiB).
#
Structs
Memory
Memory is an implementation of the api.Memory interface of wazero backed by a Go byte slice.
SEGFAULT
SEGFAULT is an error type used as value in panics triggered by reading outside of the addressable memory of a program.