utils

package
v0.0.1-rc-1 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BytesToOffsetAndSize

func BytesToOffsetAndSize(data []byte) int64

func Int64ToOffsetAndSize

func Int64ToOffsetAndSize(offsetAndSize int64) (offset int32, size int32)

func Offset32

func Offset32(data []byte) int32

func OffsetAndSizeToInt64

func OffsetAndSizeToInt64(offset int32, size int32) int64

func Retain

func Retain(data []byte)

func SliceToOffset

func SliceToOffset(data []byte) uintptr

func ToWasmMemorySlice

func ToWasmMemorySlice(offset int32, size int32) []byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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