private void method_35(byte[] A_0) { int num2 = 8; if (Class1155.smethod_0(A_0, 0, (int)this.long_1, 0) != this.uint_0) { throw new Exception2(BookmarkStart.b("礭䈯崱娳儵ᠷ礹主崽怿㑁╃⩅㵇⽉手", num2)); } }
private void method_34() { int num2 = 4; this.stream_0.Position = 0L; if (Class1155.smethod_1(this.stream_0, (int)this.long_1) != this.uint_0) { throw new Exception2(BookmarkStart.b("紩師䄭帯唱ᐳ电䨷夹᰻䠽ℿ⹁ㅃ⍅晇", num2)); } }
private void method_32(Stream A_0) { long num2 = (this.stream_0 != null) ? this.stream_0.Length : 0L; if (num2 > 0L) { long position = A_0.Position; if (!this.bool_1 && (this.compressionMethod_0 != CompressionMethod.Stored)) { if (this.compressionMethod_0 == CompressionMethod.Deflated) { this.long_1 = num2; this.stream_0.Position = 0L; this.uint_0 = 0; byte[] buffer = new byte[0x1000]; Stream stream = this.class771_0.delegate5_0(A_0); while (num2 > 0L) { int count = this.stream_0.Read(buffer, 0, 0x1000); stream.Write(buffer, 0, count); num2 -= count; this.uint_0 = Class1155.smethod_0(buffer, 0, count, this.uint_0); } stream.Close(); } } else { this.stream_0.Position = 0L; byte[] buffer2 = new byte[0x1000]; while (num2 > 0L) { int num3 = this.stream_0.Read(buffer2, 0, 0x1000); A_0.Write(buffer2, 0, num3); num2 -= num3; if ((this.compressionMethod_0 == CompressionMethod.Stored) && (this.uint_0 == 0)) { this.uint_0 = Class1155.smethod_0(buffer2, 0, num3, this.uint_0); } } } this.long_0 = A_0.Position - position; } }
void Stream.Write(byte[] A_0, int A_1, int A_2) { this.stream_0.Write(A_0, A_1, A_2); this.uint_0 = Class1155.smethod_0(A_0, A_1, A_2, this.uint_0); this.long_0 += A_2; }