using System; using System.Threading; using System.Threading.Tasks; using Cpp2IlInjected; namespace System.IO.Compression { /// Provides methods and properties used to compress and decompress streams. // Token: 0x0200020B RID: 523 [Token(Token = "0x200020B")] public class GZipStream : Stream { /// Initializes a new instance of the class by using the specified stream and compression mode. /// The stream the compressed or decompressed data is written to. /// One of the enumeration values that indicates whether to compress or decompress the stream. /// /// is . /// /// is not a valid enumeration value. /// -or- /// is and is . /// -or- /// is and is . // Token: 0x06000D55 RID: 3413 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000D55")] [Address(RVA = "0xDD2850", Offset = "0xDD1850", VA = "0x180DD2850")] public GZipStream(Stream stream, CompressionMode mode) { } /// Initializes a new instance of the class by using the specified stream and compression mode, and optionally leaves the stream open. /// The stream the compressed or decompressed data is written to. /// One of the enumeration values that indicates whether to compress or decompress the stream. /// /// to leave the stream open after disposing the object; otherwise, . /// /// is . /// /// is not a valid value. /// -or- /// is and is . /// -or- /// is and is . // Token: 0x06000D56 RID: 3414 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000D56")] [Address(RVA = "0xDD2900", Offset = "0xDD1900", VA = "0x180DD2900")] public GZipStream(Stream stream, CompressionMode mode, bool leaveOpen) { } /// Gets a value indicating whether the stream supports reading while decompressing a file. /// /// if the value is and the underlying stream supports reading and is not closed; otherwise, . // Token: 0x1700027A RID: 634 // (get) Token: 0x06000D57 RID: 3415 RVA: 0x00006D20 File Offset: 0x00004F20 [Token(Token = "0x1700027A")] public override bool CanRead { [Token(Token = "0x6000D57")] [Address(RVA = "0xDD29C0", Offset = "0xDD19C0", VA = "0x180DD29C0", Slot = "7")] get { return default(bool); } } /// Gets a value indicating whether the stream supports writing. /// /// if the value is , and the underlying stream supports writing and is not closed; otherwise, . // Token: 0x1700027B RID: 635 // (get) Token: 0x06000D58 RID: 3416 RVA: 0x00006D38 File Offset: 0x00004F38 [Token(Token = "0x1700027B")] public override bool CanWrite { [Token(Token = "0x6000D58")] [Address(RVA = "0xDD2A00", Offset = "0xDD1A00", VA = "0x180DD2A00", Slot = "9")] get { return default(bool); } } /// Gets a value indicating whether the stream supports seeking. /// /// in all cases. // Token: 0x1700027C RID: 636 // (get) Token: 0x06000D59 RID: 3417 RVA: 0x00006D50 File Offset: 0x00004F50 [Token(Token = "0x1700027C")] public override bool CanSeek { [Token(Token = "0x6000D59")] [Address(RVA = "0xDD29E0", Offset = "0xDD19E0", VA = "0x180DD29E0", Slot = "8")] get { return default(bool); } } /// This property is not supported and always throws a . /// A long value. /// This property is not supported on this stream. // Token: 0x1700027D RID: 637 // (get) Token: 0x06000D5A RID: 3418 RVA: 0x00006D68 File Offset: 0x00004F68 [Token(Token = "0x1700027D")] public override long Length { [Token(Token = "0x6000D5A")] [Address(RVA = "0xDD2A20", Offset = "0xDD1A20", VA = "0x180DD2A20", Slot = "10")] get { return 0L; } } /// This property is not supported and always throws a . /// A long value. /// This property is not supported on this stream. // Token: 0x1700027E RID: 638 // (get) Token: 0x06000D5B RID: 3419 RVA: 0x00006D80 File Offset: 0x00004F80 // (set) Token: 0x06000D5C RID: 3420 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x1700027E")] public override long Position { [Token(Token = "0x6000D5B")] [Address(RVA = "0xDD2A80", Offset = "0xDD1A80", VA = "0x180DD2A80", Slot = "11")] get { return 0L; } [Token(Token = "0x6000D5C")] [Address(RVA = "0xDD2AE0", Offset = "0xDD1AE0", VA = "0x180DD2AE0", Slot = "12")] set { } } /// The current implementation of this method has no functionality. /// The stream is closed. // Token: 0x06000D5D RID: 3421 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000D5D")] [Address(RVA = "0xDD2610", Offset = "0xDD1610", VA = "0x180DD2610", Slot = "17")] public override void Flush() { } /// This property is not supported and always throws a . /// The location in the stream. /// One of the values. /// A long value. /// This property is not supported on this stream. // Token: 0x06000D5E RID: 3422 RVA: 0x00006D98 File Offset: 0x00004F98 [Token(Token = "0x6000D5E")] [Address(RVA = "0xDD26D0", Offset = "0xDD16D0", VA = "0x180DD26D0", Slot = "25")] public override long Seek(long offset, SeekOrigin origin) { return 0L; } /// This property is not supported and always throws a . /// The length of the stream. /// This property is not supported on this stream. // Token: 0x06000D5F RID: 3423 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000D5F")] [Address(RVA = "0xDD2730", Offset = "0xDD1730", VA = "0x180DD2730", Slot = "26")] public override void SetLength(long value) { } // Token: 0x06000D60 RID: 3424 RVA: 0x00006DB0 File Offset: 0x00004FB0 [Token(Token = "0x6000D60")] [Address(RVA = "0xDD2670", Offset = "0xDD1670", VA = "0x180DD2670", Slot = "28")] public override int ReadByte() { return 0; } /// Begins an asynchronous read operation. (Consider using the method instead.) /// The byte array to read the data into. /// The byte offset in at which to begin reading data from the stream. /// The maximum number of bytes to read. /// An optional asynchronous callback, to be called when the read operation is complete. /// A user-provided object that distinguishes this particular asynchronous read request from other requests. /// An object that represents the asynchronous read operation, which could still be pending. /// The method tried to read asynchronously past the end of the stream, or a disk error occurred. /// One or more of the arguments is invalid. /// Methods were called after the stream was closed. /// The current implementation does not support the read operation. /// A read operation cannot be performed because the stream is closed. // Token: 0x06000D61 RID: 3425 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000D61")] [Address(RVA = "0xDD2390", Offset = "0xDD1390", VA = "0x180DD2390", Slot = "19")] public override IAsyncResult BeginRead(byte[] array, int offset, int count, AsyncCallback asyncCallback, object asyncState) { return null; } /// Waits for the pending asynchronous read to complete. (Consider using the method instead.) /// The reference to the pending asynchronous request to finish. /// The number of bytes read from the stream, between 0 (zero) and the number of bytes you requested. returns 0 only at the end of the stream; otherwise, it blocks until at least one byte is available. /// /// is . /// /// did not originate from a method on the current stream. /// The end operation cannot be performed because the stream is closed. // Token: 0x06000D62 RID: 3426 RVA: 0x00006DC8 File Offset: 0x00004FC8 [Token(Token = "0x6000D62")] [Address(RVA = "0xDD25A0", Offset = "0xDD15A0", VA = "0x180DD25A0", Slot = "20")] public override int EndRead(IAsyncResult asyncResult) { return 0; } /// Reads a number of decompressed bytes into the specified byte array. /// The array used to store decompressed bytes. /// The byte offset in at which the read bytes will be placed. /// The maximum number of decompressed bytes to read. /// The number of bytes that were decompressed into the byte array. If the end of the stream has been reached, zero or the number of bytes read is returned. /// /// is . /// The value was when the object was created. /// -or- /// The underlying stream does not support reading. /// /// or is less than zero. /// -or- /// length minus the index starting point is less than . /// The data is in an invalid format. /// The stream is closed. // Token: 0x06000D63 RID: 3427 RVA: 0x00006DE0 File Offset: 0x00004FE0 [Token(Token = "0x6000D63")] [Address(RVA = "0xDD26A0", Offset = "0xDD16A0", VA = "0x180DD26A0", Slot = "27")] public override int Read(byte[] array, int offset, int count) { return 0; } /// Begins an asynchronous write operation. (Consider using the method instead.) /// The buffer containing data to write to the current stream. /// The byte offset in at which to begin writing. /// The maximum number of bytes to write. /// An optional asynchronous callback to be called when the write operation is complete. /// A user-provided object that distinguishes this particular asynchronous write request from other requests. /// An object that represents the asynchronous write operation, which could still be pending. /// The underlying stream is . /// -or- /// The underlying stream is closed. // Token: 0x06000D64 RID: 3428 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000D64")] [Address(RVA = "0xDD2440", Offset = "0xDD1440", VA = "0x180DD2440", Slot = "22")] public override IAsyncResult BeginWrite(byte[] array, int offset, int count, AsyncCallback asyncCallback, object asyncState) { return null; } /// Handles the end of an asynchronous write operation. (Consider using the method instead.) /// The object that represents the asynchronous call. /// The underlying stream is . /// -or- /// The underlying stream is closed. // Token: 0x06000D65 RID: 3429 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000D65")] [Address(RVA = "0x9284C0", Offset = "0x9274C0", VA = "0x1809284C0", Slot = "23")] public override void EndWrite(IAsyncResult asyncResult) { } /// Writes compressed bytes to the underlying stream from the specified byte array. /// The buffer that contains the data to compress. /// The byte offset in from which the bytes will be read. /// The maximum number of bytes to write. /// The write operation cannot be performed because the stream is closed. // Token: 0x06000D66 RID: 3430 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000D66")] [Address(RVA = "0xDD2820", Offset = "0xDD1820", VA = "0x180DD2820", Slot = "29")] public override void Write(byte[] array, int offset, int count) { } /// Releases the unmanaged resources used by the and optionally releases the managed resources. /// /// to release both managed and unmanaged resources; to release only unmanaged resources. // Token: 0x06000D67 RID: 3431 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000D67")] [Address(RVA = "0xDD2510", Offset = "0xDD1510", VA = "0x180DD2510", Slot = "16")] protected override void Dispose(bool disposing) { } // Token: 0x06000D68 RID: 3432 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000D68")] [Address(RVA = "0xDD2640", Offset = "0xDD1640", VA = "0x180DD2640", Slot = "21")] public override Task ReadAsync(byte[] array, int offset, int count, CancellationToken cancellationToken) { return null; } // Token: 0x06000D69 RID: 3433 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000D69")] [Address(RVA = "0xDD27F0", Offset = "0xDD17F0", VA = "0x180DD27F0", Slot = "24")] public override Task WriteAsync(byte[] array, int offset, int count, CancellationToken cancellationToken) { return null; } // Token: 0x06000D6A RID: 3434 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000D6A")] [Address(RVA = "0xDD25E0", Offset = "0xDD15E0", VA = "0x180DD25E0", Slot = "18")] public override Task FlushAsync(CancellationToken cancellationToken) { return null; } // Token: 0x06000D6B RID: 3435 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000D6B")] [Address(RVA = "0xDD24F0", Offset = "0xDD14F0", VA = "0x180DD24F0")] private void CheckDeflateStream() { } // Token: 0x06000D6C RID: 3436 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000D6C")] [Address(RVA = "0xDD2790", Offset = "0xDD1790", VA = "0x180DD2790")] private static void ThrowStreamClosedException() { } // Token: 0x0400075E RID: 1886 [FieldOffset(Offset = "0x28")] [Token(Token = "0x400075E")] private DeflateStream _deflateStream; } }