Function wallet_core::c::delete_buffer

source ·
pub unsafe fn delete_buffer(ptr: *mut u8, length: usize)
Expand description

Delete a binary buffer that was returned by this library alongside with its length.

Safety

This function dereference raw pointers. Even though the function checks if the pointers are null. Mind not to put random values in or you may see unexpected behaviors