Type Definition ul_sys::ULFileSystemReadFromFileCallback[][src]

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.