Пример #1
0
        static IntPtr n_Encode_Ljava_lang_String_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
        {
            global::Com.Parse.Codec.Net.URLCodec __this = global::Java.Lang.Object.GetObject <global::Com.Parse.Codec.Net.URLCodec> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            string p0    = JNIEnv.GetString(native_p0, JniHandleOwnership.DoNotTransfer);
            IntPtr __ret = JNIEnv.NewString(__this.Encode(p0));

            return(__ret);
        }
Пример #2
0
        static IntPtr n_Encode_arrayB(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
        {
            global::Com.Parse.Codec.Net.URLCodec __this = global::Java.Lang.Object.GetObject <global::Com.Parse.Codec.Net.URLCodec> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            byte[] p0    = (byte[])JNIEnv.GetArray(native_p0, JniHandleOwnership.DoNotTransfer, typeof(byte));
            IntPtr __ret = JNIEnv.NewArray(__this.Encode(p0));

            if (p0 != null)
            {
                JNIEnv.CopyArray(p0, native_p0);
            }
            return(__ret);
        }