Movatterモバイル変換


[0]ホーム

URL:


binary

package
v1.10.1Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2025 License:Apache-2.0Imports:14Imported by:0

Details

Repository

github.com/tetratelabs/wazero

Links

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (ErrInvalidByte           =errors.New("invalid byte")ErrInvalidMagicNumber    =errors.New("invalid magic number")ErrInvalidVersion        =errors.New("invalid version header")ErrInvalidSectionID      =errors.New("invalid section id")ErrCustomSectionNotFound =errors.New("custom section not found"))
View Source
var Magic = []byte{0x00, 0x61, 0x73, 0x6D}

Magic is the 4 byte preamble (literally "\0asm") of the binary formatSeehttps://www.w3.org/TR/2019/REC-wasm-core-1-20191205/#binary-magic

Functions

funcDecodeModule

func DecodeModule(binary []byte,enabledFeaturesapi.CoreFeatures,memoryLimitPagesuint32,memoryCapacityFromMax,dwarfEnabled, storeCustomSectionsbool,) (*wasm.Module,error)

DecodeModule implements wasm.DecodeModule for the WebAssembly 1.0 (20191205) Binary FormatSeehttps://www.w3.org/TR/2019/REC-wasm-core-1-20191205/#binary-format%E2%91%A0

Types

This section is empty.

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp