Use SetByteArrayRegion to minimize copy overhead and JNI calls.
1 file changed