StreamCallback typedef

StreamCallback = Pointer<NativeFunction<Void Function(LongLong streamId, Char msgType, Pointer<Void> data, LongLong len)>>

Stream callback signature (for server/bidi streaming)

Implementation

typedef StreamCallback = ffi.Pointer<
    ffi.NativeFunction<
        ffi.Void Function(ffi.LongLong streamId, ffi.Char msgType,
            ffi.Pointer<ffi.Void> data, ffi.LongLong len)>>;