private static void WriteByte23(global::System.IntPtr @__envp, global::net.sf.jni4net.utils.JniLocalHandle @__obj, byte value) { // (B)V // (B)V global::net.sf.jni4net.jni.JNIEnv @__env = global::net.sf.jni4net.jni.JNIEnv.Wrap(@__envp); try { global::System.IO.Stream @__real = global::net.sf.jni4net.utils.Convertor.StrongJp2C <global::System.IO.Stream>(@__env, @__obj); @__real.WriteByte(value); }catch (global::System.Exception __ex) { @__env.ThrowExisting(__ex); } }
public void Build(LanguagesContainer languages, string path) { using (global::System.IO.BinaryWriter binaryWriter = new global::System.IO.BinaryWriter(global::System.IO.File.Open(path, global::System.IO.FileMode.Create))) { global::System.IO.Stream baseStream = binaryWriter.BaseStream; this.class47_0.method_10(2, baseStream); int count = languages.Languages.Count; this.class47_0.method_10(count, baseStream); baseStream.WriteByte(1); int num = languages.Indexes.Length; this.class47_0.method_10(num, baseStream); for (int i = 0; i < num; i++) { this.class47_0.method_10(languages.Indexes[i], baseStream); } byte[] array = this.method_0(languages); baseStream.Write(array, 0, array.Length); } }