Re: [mono-android] Fastest way to transfer binary data between java/mono

2012-10-24 Thread Igor Russkih
Thanks for help, I'll try this and report back. Igor On Wed, Oct 24, 2012 at 1:37 AM, Jonathan Pryor wrote: > On Oct 23, 2012, at 4:32 AM, Igor Russkih wrote: > > Assume I have my java class, and my cs class. What I want is to transfer > binary data between these two with max performance. >

Re: [mono-android] Fastest way to transfer binary data between java/mono

2012-10-23 Thread Jonathan Pryor
On Oct 23, 2012, at 4:32 AM, Igor Russkih wrote: > Assume I have my java class, and my cs class. What I want is to transfer > binary data between these two with max performance. > > Main direction is cs -> java for now. > > What is the best way? > > 1) JNI CopyArray - how is that implemented i

[mono-android] Fastest way to transfer binary data between java/mono

2012-10-23 Thread Igor Russkih
Hello, Assume I have my java class, and my cs class. What I want is to transfer binary data between these two with max performance. Main direction is cs -> java for now. What is the best way? 1) JNI CopyArray - how is that implemented internally? SetIntArrayRegion? 2) DirectByteBuffer seems to