mem

package
v0.0.0-...-634d4eb Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2023 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Allocate

func Allocate(size uint32) uintptr

func DataFromPtr

func DataFromPtr(ptr, size uint32) []byte

func DataToManagedPtr

func DataToManagedPtr(data []byte) (ptr uint32, size uint32)

func DataToUnmanagedPtr

func DataToUnmanagedPtr(data []byte) (uint32, uint32)

func PtrToData

func PtrToData(ptr uint32, size uint32) []byte

func UnifiedPtrToSizePtr

func UnifiedPtrToSizePtr(uint64ptr uint64) (ptr uint32, size uint32)

func UnifyPtrSize

func UnifyPtrSize(ptr, size uint32) uint64

Types

This section is empty.

Jump to

Keyboard shortcuts

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