Does Android's JNI JavaScript binding efficiently pass TypedArray / ArrayBuffer to Java as an array?

Viewed 1552

In the Android JNI binding, you can expose a Java method such as method(int[] intArray) {} to JavaScript, pass it a JavaScript array, and expect the binding to convert that JavaScript array to int[]. Does Android have the same handling for e.g. Uint8Array()?

1 Answers
Related