#[unsafe(no_mangle)]pub unsafe extern "C" fn ffi_free_bytes(ptr: *mut u8, _len: usize)Expand description
Frees a byte buffer (unsigned char * / uint8_t *) previously returned
by an FFI function in this library (which allocated it using libc::malloc).
Does nothing if ptr is null. The len argument is ignored but kept for
potential C-side compatibility if callers expect it.
ยงSafety
ptrmust be null or must have been previously allocated by a function in this library that returns*mut u8(eg,ffi_agent_sign,ffi_export_encrypted_key).ptrmust not be used after calling this function.