internal Stream method_10(Class297 A_0) { int num = 4; if (A_0 == null) { throw new ArgumentNullException(BookmarkStart.b("伩䈫娭䈯䬱", num)); } Stream stream2 = null; if (A_0.method_2() == Class297.EntryType.Stream) { Class939 class2; Stream stream; if ((this.class939_1 != null) && (A_0.method_22() < this.class938_0.method_19())) { class2 = this.class939_1; stream = this.stream_1; } else { class2 = this.class939_0; stream = this.stream_0; } byte[] buffer = class2.method_1(stream, A_0.method_20(), this); stream2 = (buffer != null) ? new MemoryStream(buffer) : new MemoryStream(); stream2.SetLength((long)A_0.method_22()); } return(stream2); }
private void method_0(int A_0) { if (A_0 >= 0) { Class297 class2 = this.class1004_0.Interface51.imethod_1().method_0()[A_0]; int num = class2.method_6(); string key = class2.method_0(); this.method_0(num); switch (class2.method_2()) { case Class297.EntryType.Storage: this.sortedList_0.Add(key, new Class1069(this.class1004_0, class2)); this.list_0.Add(key); break; case Class297.EntryType.Stream: if (!this.list_1.Contains(key)) { Stream3 stream = new Stream3(this.class1004_0, class2); this.sortedList_0.Add(key, stream); this.list_1.Add(key); } break; default: throw new NotImplementedException(); } int num2 = class2.method_8(); this.method_0(num2); } }
public Class1069(Class1004 A_0, Class297 A_1) { int num = 0; this.sortedList_0 = new SortedList <string, Interface59>(new Class1002()); this.list_0 = new List <string>(); this.list_1 = new List <string>(); if (A_0 == null) { throw new ArgumentNullException(BookmarkStart.b("嘥䤧堩䤫䀭䐯琱崳娵崷", num)); } if (A_1 == null) { throw new ArgumentNullException(BookmarkStart.b("䌥䘧帩師圭", num)); } if ((A_1.method_2() != Class297.EntryType.Storage) && (A_1.method_2() != Class297.EntryType.Root)) { throw new ArgumentOutOfRangeException(BookmarkStart.b("䌥䘧帩師圭", num)); } this.class297_0 = A_1; this.class1004_0 = A_0; this.method_0(A_1.method_10()); }
internal void method_18(Class297 A_0) { int num = 2; if (A_0 == null) { throw new ArgumentNullException(BookmarkStart.b("䰧䌩師䬭匯䘱嬳䐵䄷缹刻䨽㈿㭁", num)); } A_0.method_3(Class297.EntryType.Invalid); if (A_0.method_2() == Class297.EntryType.Stream) { this.class939_0.method_3(A_0.method_20()); A_0.method_21(-1); } }
public int method_1() { int num2 = 0; int count = this.list_0.Count; while (num2 < count) { Class297 class2 = this.list_0[num2]; if (class2.method_2() == Class297.EntryType.Invalid) { return(num2); } num2++; } return(-1); }
public Stream3(Class1004 A_0, Class297 A_1) : base(A_1.method_0()) { int num = 12; if (A_0 == null) { throw new ArgumentNullException(BookmarkStart.b("吱崳娵崷", num)); } if (A_1 == null) { throw new ArgumentNullException(BookmarkStart.b("圱娳䈵䨷䌹", num)); } if (A_1.method_2() != Class297.EntryType.Stream) { throw new ArgumentOutOfRangeException(BookmarkStart.b("圱娳䈵䨷䌹", num)); } this.class1004_0 = A_0; this.class297_0 = A_1; }
private static void smethod_1(string A_0, Class1003 A_1) { int num = 2; using (StreamWriter writer = new StreamWriter(Path.Combine(A_0, BookmarkStart.b("䰧䌩師䬭匯䘱嬳䐵䄷ᐹ䠻䘽㐿", 2)))) { List <Class297> list = A_1.method_0(); int num2 = 0; int count = list.Count; while (num2 < count) { Class297 class2 = list[num2]; writer.WriteLine(new string('-', 20)); writer.WriteLine(BookmarkStart.b("洧䐩堫尭䤯笱倳వᠷ䄹䌽", num), class2.method_26()); writer.WriteLine(BookmarkStart.b("昧䬩䄫䬭ਯሱ伳ص䔷ᘹ᰻笽⸿㙁㙃㽅᱇㍉㱋⭍橏牑⽓杕╗", num), class2.method_0(), class2.method_2()); writer.WriteLine(BookmarkStart.b("搧伩䨫娭ਯሱ伳ص䔷ᘹ᰻氽⤿╁ⱃ㉅片橉㝋罍ⵏ繑瑓ᕕし㍙せ㩝婟䉡ὣ呥ᕧ", num), class2.method_6(), class2.method_8(), class2.method_10()); writer.WriteLine(BookmarkStart.b("漧弩䔫䨭ਯሱ伳ص䔷ᘹ᰻稽ℿ㙁⅃Յ㩇⽉ⵋ㩍㕏桑瑓ⵕ楗❙灛繝͡ၣͥ╧թݭᙯୱ乳噵ͷ䡹Ż", num), class2.method_12(), class2.method_16(), class2.method_18()); writer.WriteLine(BookmarkStart.b("笧帩䴫尭䐯愱儳唵䰷唹主н怿㥁瑃㭅摇橉ੋ⅍㹏♑ݓ㽕≗㽙晛繝᭟卡ᥣ", num), class2.method_20(), class2.method_22()); num2++; } } }