pub fn uniffi_rustbuffer_free(buf: RustBuffer, call_status: &mut RustCallStatus)
Expand description

Free a byte buffer that had previously been passed to the foreign language code.

Safety

The argument must be a uniquely-owned RustBuffer previously obtained from a call into the Rust code that returned a buffer, or you’ll risk freeing unowned memory or corrupting the allocator state.