pub unsafe fn copy_heap_buf_to_buf(in_buf: *mut WDL_HeapBuf, out_buf: *mut u8)
Expand description

Copies the content of the given heap buffer to the given output buffer (which must be sized correctly).

Takes ownership of the passed buffer, so takes care of destruction!

Safety

REAPER can crash if you pass an invalid pointer.