Dart_FileWriteCallback typedef

Dart_FileWriteCallback = Pointer<NativeFunction<Void Function(Pointer<Void> data, IntPtr length, Pointer<Void> stream)>>

Write data into 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 which needs to be written into the file. \param length Length of the buffer. \param stream Handle to the opened file.

Implementation

typedef Dart_FileWriteCallback = ffi.Pointer<ffi.NativeFunction<ffi.Void Function(ffi.Pointer<ffi.Void> data, ffi.IntPtr length, ffi.Pointer<ffi.Void> stream)>>;