static void n_Transfer_arrayBarrayBI(IntPtr jnienv, IntPtr native__this, IntPtr native_txBuffer, IntPtr native_rxBuffer, int length)
 {
     global::Android.Things.Pio.ISpiDevice __this = global::Java.Lang.Object.GetObject <global::Android.Things.Pio.ISpiDevice>(jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     byte[] txBuffer = (byte[])JNIEnv.GetArray(native_txBuffer, JniHandleOwnership.DoNotTransfer, typeof(byte));
     byte[] rxBuffer = (byte[])JNIEnv.GetArray(native_rxBuffer, JniHandleOwnership.DoNotTransfer, typeof(byte));
     __this.Transfer(txBuffer, rxBuffer, length);
     if (txBuffer != null)
     {
         JNIEnv.CopyArray(txBuffer, native_txBuffer);
     }
     if (rxBuffer != null)
     {
         JNIEnv.CopyArray(rxBuffer, native_rxBuffer);
     }
 }
 static void n_SetMode_I(IntPtr jnienv, IntPtr native__this, int mode)
 {
     global::Android.Things.Pio.ISpiDevice __this = global::Java.Lang.Object.GetObject <global::Android.Things.Pio.ISpiDevice>(jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     __this.SetMode(mode);
 }
 static void n_SetBitJustification_I(IntPtr jnienv, IntPtr native__this, int justification)
 {
     global::Android.Things.Pio.ISpiDevice __this = global::Java.Lang.Object.GetObject <global::Android.Things.Pio.ISpiDevice>(jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     __this.SetBitJustification(justification);
 }
 static void n_SetCsChange_Z(IntPtr jnienv, IntPtr native__this, bool change)
 {
     global::Android.Things.Pio.ISpiDevice __this = global::Java.Lang.Object.GetObject <global::Android.Things.Pio.ISpiDevice>(jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     __this.SetCsChange(change);
 }
 static void n_Close(IntPtr jnienv, IntPtr native__this)
 {
     global::Android.Things.Pio.ISpiDevice __this = global::Java.Lang.Object.GetObject <global::Android.Things.Pio.ISpiDevice>(jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     __this.Close();
 }