RacModelRegistryImportProtoNative typedef

RacModelRegistryImportProtoNative = Int32 Function(Pointer<Void>, Pointer<Uint8>, Size, Pointer<RacProtoBuffer>)

Matches rac_model_registry_import_proto(handle, in_bytes, in_size, out_proto). Same shape as RacHandleBytesToProtoDart.

Implementation

typedef RacModelRegistryImportProtoNative =
    ffi.Int32 Function(
      ffi.Pointer<ffi.Void>,
      ffi.Pointer<ffi.Uint8>,
      ffi.Size,
      ffi.Pointer<RacProtoBuffer>,
    );