public CopyBytes ( byte output, int offset, int length ) : int | ||
output | byte | |
offset | int | |
length | int | |
return | int |
// Token: 0x060002DC RID: 732 RVA: 0x00028AE0 File Offset: 0x00026CE0 public int CopyStored(SimpleZip.StreamManipulator streamManipulator_0, int int_0) { int_0 = Math.Min(Math.Min(int_0, 32768 - this.windowFilled), streamManipulator_0.AvailableBytes); int num = 32768 - this.windowEnd; int num2; if (int_0 > num) { num2 = streamManipulator_0.CopyBytes(this.window, this.windowEnd, num); if (num2 == num) { num2 += streamManipulator_0.CopyBytes(this.window, 0, int_0 - num); } } else { num2 = streamManipulator_0.CopyBytes(this.window, this.windowEnd, int_0); } this.windowEnd = (this.windowEnd + num2 & 32767); this.windowFilled += num2; return(num2); }
// Token: 0x060016B2 RID: 5810 RVA: 0x00075054 File Offset: 0x00073254 public int CopyStored(SimpleZip.StreamManipulator A_1, int A_2) { A_2 = Math.Min(Math.Min(A_2, 32768 - this.windowFilled), A_1.get_AvailableBytes()); int num = 32768 - this.windowEnd; int num2; if (A_2 > num) { num2 = A_1.CopyBytes(this.window, this.windowEnd, num); if (num2 == num) { num2 += A_1.CopyBytes(this.window, 0, A_2 - num); } } else { num2 = A_1.CopyBytes(this.window, this.windowEnd, A_2); } this.windowEnd = (this.windowEnd + num2 & 32767); this.windowFilled += num2; return(num2); }