#[no_mangle] pub unsafe extern "C" fn buffer_free(buf: *mut Buffer)
Free the memory of a given buffer.
Should only be called from FFI interface. This function can lead to UB as pointer cannot be validated!