Native iOS library API: - void getCamImage(Byte[])data withWidth:(size_t)width withHeight:(size_t)height withStride:(size_t)stride ;
In the Binding DLL project, i tried the following: [Export("getCamImage:withWidth:withHeight:withStride:")] void GetCamImage(Byte[] buffer, int width, int height, int stride);
Tried byte[] instead of Byte[]. Getting the following error: error CS0452: The type 'byte' must be a reference type in order to use it as parameter 'T' in the generic type or method 'NSArray.FromNSObjects(params T[])'
Question : how to export the ByteArray parameter as?