Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public static byte[] ArrayPrimJ2Cbyte(JNIEnv env, JniLocalHandle array) { if (JniLocalHandle.IsNull(array)) { return(null); } int length = env.GetArrayLength(array); var res = new byte[length]; env.GetByteArrayRegion(array, 0, length, res); return(res); }