wasmclient

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2021 License: Apache-2.0, BSD-2-Clause Imports: 1 Imported by: 0

Documentation

Rendered for js/wasm

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WasmVMHost

type WasmVMHost struct {
	// contains filtered or unexported fields
}

func (*WasmVMHost) AddFunc

func (*WasmVMHost) AddView

func (*WasmVMHost) CallFunc

func (w *WasmVMHost) CallFunc(objID, keyID int32, params []byte) []byte

func (*WasmVMHost) ConnectWasmHost

func (w *WasmVMHost) ConnectWasmHost()

func (*WasmVMHost) Exists

func (w *WasmVMHost) Exists(objID, keyID, typeID int32) bool

func (*WasmVMHost) GetBytes

func (w *WasmVMHost) GetBytes(objID, keyID, typeID int32) []byte

func (*WasmVMHost) GetKeyIDFromBytes

func (w *WasmVMHost) GetKeyIDFromBytes(bytes []byte) int32

func (*WasmVMHost) GetKeyIDFromString

func (w *WasmVMHost) GetKeyIDFromString(key string) int32

func (*WasmVMHost) GetObjectID

func (w *WasmVMHost) GetObjectID(objID, keyID, typeID int32) int32

func (*WasmVMHost) SetBytes

func (w *WasmVMHost) SetBytes(objID, keyID, typeID int32, value []byte)

Jump to

Keyboard shortcuts

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