wasm

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2018 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Void = Type(0)
	I32  = Type(maskInt | mask32)
	I64  = Type(maskInt | mask64)
	F32  = Type(maskFloat | mask32)
	F64  = Type(maskFloat | mask64)

	Int   = Category(maskInt)
	Float = Category(maskFloat)

	Size32 = Size(mask32)
	Size64 = Size(mask64)
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Category added in v0.3.0

type Category uint8

type MemorySize

type MemorySize int
const (
	PageBits            = 16
	Page     MemorySize = 1 << PageBits
)

type Size added in v0.3.0

type Size uint8

type Type added in v0.3.0

type Type uint8

func (Type) Category added in v0.3.0

func (t Type) Category() Category

func (Type) Size added in v0.3.0

func (t Type) Size() Size

Size in bytes.

func (Type) String added in v0.3.0

func (t Type) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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