pub type ULFileSystemReadFromFileCallback = Option<unsafe extern "C" fn(handle: ULFileHandle, data: *mut c_char, length: c_longlong) -> c_longlong>;Expand description
The callback invoked when the FileSystem wants to read from a currently-opened file, return number of bytes read or -1 on failure.
Aliased Type§
enum ULFileSystemReadFromFileCallback {
None,
Some(unsafe extern "C" fn(_: i32, _: *mut i8, _: i64) -> i64),
}