memoryView

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2024 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Factory

type Factory struct {
	helpers.Methods
	// contains filtered or unexported fields
}

func New

func New(i vm.Instance, helper helpers.Methods) *Factory

func (*Factory) Close

func (f *Factory) Close() error

func (*Factory) Load

func (f *Factory) Load(hm vm.HostModule) (err error)

func (*Factory) Name

func (f *Factory) Name() string

func (*Factory) W_memoryViewClose

func (f *Factory) W_memoryViewClose(
	ctx context.Context,
	module common.Module,
	id uint32,
)

func (*Factory) W_memoryViewNew

func (f *Factory) W_memoryViewNew(
	ctx context.Context,
	module common.Module,
	bufPtr,
	size,
	isCloser,
	idPtr uint32,
) errno.Error

func (*Factory) W_memoryViewOpen

func (f *Factory) W_memoryViewOpen(
	ctx context.Context,
	module common.Module,
	id,
	isClosablePtr,
	sizePtr uint32,
) (error errno.Error)

func (*Factory) W_memoryViewRead

func (f *Factory) W_memoryViewRead(
	ctx context.Context,
	module common.Module,
	id,
	offset,
	count,
	bufPtr,
	nPtr uint32,
) errno.Error

type MemoryView

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

Jump to

Keyboard shortcuts

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