title: Passing byte[] from Unity C# to Android Java without copying (pointer?)
body: <p>Is it possible to pass a byte[] from Unity C# to Android Java without copying it? In other words transferring it as fast as possible, possibly as a pointer.</p>
  <p>The use case is sending a byte[] with a length of 1920x1080 (derived from <a href="https://docs.unity3d.com/ScriptReference/Texture2D.GetRawTextureData.html" rel="nofollow noreferrer">.GetRawTextureData</a>, 30 times per second. Currently I am passing the byte[] as a parameter in a <code>AndroidJavaObject</code> method call but it is too slow (100 milliseconds per call). Any ideas?</p>