allocate(size)

allocates the size of memory that is referenced

local buf = Memory.allocate(64)
log.info("Allocated buffer at: 0x" .. string.format("%X", buf))

Last updated