protected BaseNCodecInputStream(global::System.IO.Stream p0, global::Com.Parse.Codec.Binary.BaseNCodec p1, bool p2) : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer) { if (Handle != IntPtr.Zero) { return; } IntPtr native_p0 = global::Android.Runtime.InputStreamAdapter.ToLocalJniHandle(p0);; if (GetType() != typeof(BaseNCodecInputStream)) { SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(GetType(), "(Ljava/io/InputStream;Lcom/parse/codec/binary/BaseNCodec;Z)V", new JValue(native_p0), new JValue(p1), new JValue(p2)), JniHandleOwnership.TransferLocalRef); global::Android.Runtime.JNIEnv.FinishCreateInstance(Handle, "(Ljava/io/InputStream;Lcom/parse/codec/binary/BaseNCodec;Z)V", new JValue(native_p0), new JValue(p1), new JValue(p2)); JNIEnv.DeleteLocalRef(native_p0); return; } if (id_ctor_Ljava_io_InputStream_Lcom_parse_codec_binary_BaseNCodec_Z == IntPtr.Zero) { id_ctor_Ljava_io_InputStream_Lcom_parse_codec_binary_BaseNCodec_Z = JNIEnv.GetMethodID(class_ref, "<init>", "(Ljava/io/InputStream;Lcom/parse/codec/binary/BaseNCodec;Z)V"); } SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Ljava_io_InputStream_Lcom_parse_codec_binary_BaseNCodec_Z, new JValue(native_p0), new JValue(p1), new JValue(p2)), JniHandleOwnership.TransferLocalRef); JNIEnv.FinishCreateInstance(Handle, class_ref, id_ctor_Ljava_io_InputStream_Lcom_parse_codec_binary_BaseNCodec_Z, new JValue(native_p0), new JValue(p1), new JValue(p2)); JNIEnv.DeleteLocalRef(native_p0); }
static bool n_IsInAlphabet_Ljava_lang_String_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Parse.Codec.Binary.BaseNCodec __this = global::Java.Lang.Object.GetObject <global::Com.Parse.Codec.Binary.BaseNCodec> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); string p0 = JNIEnv.GetString(native_p0, JniHandleOwnership.DoNotTransfer); bool __ret = __this.IsInAlphabet(p0); return(__ret); }
static IntPtr n_Encode_Ljava_lang_Object_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Parse.Codec.Binary.BaseNCodec __this = global::Java.Lang.Object.GetObject <global::Com.Parse.Codec.Binary.BaseNCodec> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Java.Lang.Object p0 = global::Java.Lang.Object.GetObject <global::Java.Lang.Object> (native_p0, JniHandleOwnership.DoNotTransfer); IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.Encode(p0)); return(__ret); }
static IntPtr n_Decode_Ljava_lang_String_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Parse.Codec.Binary.BaseNCodec __this = global::Java.Lang.Object.GetObject <global::Com.Parse.Codec.Binary.BaseNCodec> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); string p0 = JNIEnv.GetString(native_p0, JniHandleOwnership.DoNotTransfer); IntPtr __ret = JNIEnv.NewArray(__this.Decode(p0)); return(__ret); }
static bool n_IsInAlphabet_arrayBZ(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, bool p1) { global::Com.Parse.Codec.Binary.BaseNCodec __this = global::Java.Lang.Object.GetObject <global::Com.Parse.Codec.Binary.BaseNCodec> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); byte[] p0 = (byte[])JNIEnv.GetArray(native_p0, JniHandleOwnership.DoNotTransfer, typeof(byte)); bool __ret = __this.IsInAlphabet(p0, p1); if (p0 != null) { JNIEnv.CopyArray(p0, native_p0); } return(__ret); }
static long n_GetEncodedLength_arrayB(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Parse.Codec.Binary.BaseNCodec __this = global::Java.Lang.Object.GetObject <global::Com.Parse.Codec.Binary.BaseNCodec> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); byte[] p0 = (byte[])JNIEnv.GetArray(native_p0, JniHandleOwnership.DoNotTransfer, typeof(byte)); long __ret = __this.GetEncodedLength(p0); if (p0 != null) { JNIEnv.CopyArray(p0, native_p0); } return(__ret); }
static bool n_IsInAlphabet_B(IntPtr jnienv, IntPtr native__this, sbyte p0) { global::Com.Parse.Codec.Binary.BaseNCodec __this = global::Java.Lang.Object.GetObject <global::Com.Parse.Codec.Binary.BaseNCodec> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(__this.IsInAlphabet(p0)); }
static void n_EnsureBufferSize_I(IntPtr jnienv, IntPtr native__this, int p0) { global::Com.Parse.Codec.Binary.BaseNCodec __this = global::Java.Lang.Object.GetObject <global::Com.Parse.Codec.Binary.BaseNCodec> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); __this.EnsureBufferSize(p0); }
static int n_GetDefaultBufferSize(IntPtr jnienv, IntPtr native__this) { global::Com.Parse.Codec.Binary.BaseNCodec __this = global::Java.Lang.Object.GetObject <global::Com.Parse.Codec.Binary.BaseNCodec> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(__this.DefaultBufferSize); }