Documentation
¶
Index ¶
- func Alloc(size uint32) uint32
- func BytesToPointer(v []byte) (addr, size uint32)
- func FreeResource(rid uint32) bool
- func GetDB(key string) int32
- func GetDataByRID(rid uint32) ([]byte, error)
- func Log(message string)
- func PointerToBytes(ptr uint32, size uint32) []byte
- func PointerToString(ptr uint32, size uint32) string
- func SendTx(key string) int32
- func SetDB(key string, v int32)
- func StringToPointer(v string) (addr, size uint32)
- type Mem
- type MemMgr
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BytesToPointer ¶
func FreeResource ¶
func GetDataByRID ¶
func PointerToBytes ¶
func StringToPointer ¶
Types ¶
type MemMgr ¶
type MemMgr struct {
// contains filtered or unexported fields
}
func (*MemMgr) AddAllocation ¶
func (*MemMgr) AddResource ¶
func (*MemMgr) AddResourceWithMem ¶
func (*MemMgr) FreeResource ¶
Click to show internal directories.
Click to hide internal directories.