can we have something to like this to pass data to...
# announcements
k
can we have something to like this to pass data to c function ?
Copy code
transfer.write_function(|new_data| {
    data.extend_from_slice(new_data);
    Ok(new_data.len())
})
It's really annoying to pass data by making StaticRef and get from staticCFunction and convert to kotlin type.