Versions in this module Expand all Collapse all v1 v1.0.1 Apr 8, 2022 Changes in this version + var BadAlloc = errors.New("bad alloc") + func Memcpy(dest, src unsafe.Pointer, n uintptr) + func Memset(p unsafe.Pointer, ch uint8, len uintptr) + type Memory interface + Free func(ptr *byte) + Malloc func(size uintptr) *byte + type MemoryManager interface + Allocate func(size uintptr) unsafe.Pointer + DeAllocate func(p unsafe.Pointer)