[Mono-dev] Using .so file in Android Library Project and then using it in an Android App

2014-11-18 Thread Burhan Eyuboglu
While running my code on an Android Device, it gives that error: [Mono] DllImport error loading library '/storage/emulated/0/Android/data/LibraryDenemesi.LibraryDenemesi/files/.__override__/libcylibusb.dll': 'Cannot load library: load_library(linker.cpp:746): library

Re: [Mono-dev] Using .so file in Android Library Project and then using it in an Android App

2014-11-18 Thread Jonathan Pryor
On Nov 18, 2014, at 10:05 AM, Burhan Eyuboglu burhaneyubo...@gmail.com wrote: While running my code on an Android Device, it gives that error: This is better asked on forums.xamarin.com... [Mono] DllImport error loading library

[Mono-dev] What's the most efficient way to do XOR two byte arrays?

2014-11-18 Thread Edward Ned Harvey (mono)
Obviously, I could just use a for-loop. But then my code is theoretically telling the system to XOR each byte individually, wasting most of the CPU on each instruction. I wrote unsafe code to do this with 32-bit and 64-bit int pointers. Surprisingly they both performed about the same (I