RaFlutterLlmGenerateStreamNativePortNative typedef

RaFlutterLlmGenerateStreamNativePortNative = Int32 Function(Pointer<Uint8>, Size, Int64, Pointer<NativeFunction<RacDartPostCObjectNative>>)

Flutter platform helper that copies LLM stream events natively and posts them to a Dart ReceivePort. Exported by the Flutter pod/helper library, not by RACommons.

Implementation

typedef RaFlutterLlmGenerateStreamNativePortNative =
    ffi.Int32 Function(
      ffi.Pointer<ffi.Uint8>,
      ffi.Size,
      ffi.Int64,
      ffi.Pointer<ffi.NativeFunction<RacDartPostCObjectNative>>,
    );