Platforms to show: All Mac Windows Linux Cross-Platform
Back to MemoryBlock class.
NewMemoryBlockFromPtrMBS(ptr as Integer) as memoryblock
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
global method | MemoryBlock | MBS Util Plugin | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The memory for the ptr is not freed as you have to do this yourself (or via the library that allocated it).
Some examples using this global method:
The items on this page are in the following plugins: MBS Util Plugin.