Dart_FileReadCallback typedef
Read contents of file.
Callback provided by the embedder for file operations. If the embedder does not allow file operations this callback can be NULL.
\param data Buffer allocated in the callback into which the contents of the file are read into. It is the responsibility of the caller to free this buffer. \param file_length A variable into which the length of the file is returned. In the case of an error this value would be -1. \param stream Handle to the opened file.
Implementation
typedef Dart_FileReadCallback
= ffi.Pointer<ffi.NativeFunction<Dart_FileReadCallbackFunction>>;