nativeBufferAllocate

external fun nativeBufferAllocate(size: Long): Long(source)

Allocates size bytes and returns a pointer to the allocated memory. The default allocator is used to obtains memory.