internal void method_0(Stream12 A_0, bool A_1) { this.class367_0 = new Class365.Class367(); byte[] buffer = new byte[0x10]; this.class367_0.vmethod_1(buffer, 0); ASCIIEncoding encoding = new ASCIIEncoding(); UnicodeEncoding encoding2 = new UnicodeEncoding(); string s = string.Empty; string str2 = string.Empty; if (A_1) { StringBuilder builder = new StringBuilder(0xff); GetShortPathName(this.string_0, builder, builder.Capacity); string str3 = builder.ToString(); s = str3; str2 = str3; } else { s = this.string_0; str2 = this.string_0; } byte[] bytes = encoding.GetBytes(s); byte[] buffer3 = BitConverter.GetBytes(-559022081); byte[] buffer4 = encoding2.GetBytes(str2); int num = ((buffer.Length + bytes.Length) + buffer3.Length) + buffer4.Length; A_0.Write(BitConverter.GetBytes(num), 0, 4); A_0.Write(buffer, 0, buffer.Length); A_0.Write(bytes, 0, bytes.Length); A_0.Write(buffer3, 0, buffer3.Length); A_0.Write(buffer4, 0, buffer4.Length); }
internal override void vmethod_0(byte[] A_0, int A_1) { this.class367_0 = new Class365.Class367(); this.class367_0.vmethod_0(A_0, A_1); A_1 += this.class367_0.vmethod_2(); int num = A_0.Length - this.class367_0.vmethod_2(); this.byte_0 = Class364.smethod_5(A_0, num, ref A_1); }