luvutils

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: May 23, 2022 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllocMem

func AllocMem(size int) ([]byte, error)

The AllocMem function is used to allocate memory Prone to garbage collection

func AllocMemMulti

func AllocMemMulti(size int, count int) ([][]byte, error)

AllocMemMulti is used to allocate memory for multiple variables Prone to garbage collection

func ArrayContains

func ArrayContains(value string, array []string) bool

ArrayContains checks if an array contains a value

func CmdOut

func CmdOut(command string) (string, error)

The CmdOut function is used to execute a command

func FreeMem

func FreeMem(ptr []byte)

The FreeMem function is used to free memory

func MallocMemory added in v0.2.0

func MallocMemory(size int) ([]byte, error)

func MemCpy

func MemCpy(dst, src []byte)

The MemCpy function is used to reallocate memory

Types

This section is empty.

Jump to

Keyboard shortcuts

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