using System;
using Cpp2IlInjected;
namespace System.IO.Compression
{
/// Provides methods and properties for compressing and decompressing streams by using the Deflate algorithm.
// Token: 0x0200020C RID: 524
[Token(Token = "0x200020C")]
public class DeflateStream : Stream
{
/// Initializes a new instance of the class by using the specified stream and compression mode.
/// The stream to compress or decompress.
/// One of the enumeration values that indicates whether to compress or decompress the stream.
///
/// is .
///
/// is not a valid value.
/// -or-
/// is and is .
/// -or-
/// is and is .
// Token: 0x06000D6D RID: 3437 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000D6D")]
[Address(RVA = "0x2F3FA20", Offset = "0x2F3EA20", VA = "0x182F3FA20")]
public DeflateStream(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 to compress or decompress.
/// 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: 0x06000D6E RID: 3438 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000D6E")]
[Address(RVA = "0x2F3FCA0", Offset = "0x2F3ECA0", VA = "0x182F3FCA0")]
public DeflateStream(Stream stream, CompressionMode mode, bool leaveOpen)
{
}
// Token: 0x06000D6F RID: 3439 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000D6F")]
[Address(RVA = "0x2F3FA00", Offset = "0x2F3EA00", VA = "0x182F3FA00")]
internal DeflateStream(Stream stream, CompressionMode mode, bool leaveOpen, int windowsBits)
{
}
// Token: 0x06000D70 RID: 3440 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000D70")]
[Address(RVA = "0x2F3FA40", Offset = "0x2F3EA40", VA = "0x182F3FA40")]
internal DeflateStream(Stream compressedStream, CompressionMode mode, bool leaveOpen, bool gzip)
{
}
/// 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: 0x06000D71 RID: 3441 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000D71")]
[Address(RVA = "0x2F3EDC0", Offset = "0x2F3DDC0", VA = "0x182F3EDC0", Slot = "16")]
protected override void Dispose(bool disposing)
{
}
// Token: 0x06000D72 RID: 3442 RVA: 0x00006DF8 File Offset: 0x00004FF8
[Token(Token = "0x6000D72")]
[Address(RVA = "0x2F3F250", Offset = "0x2F3E250", VA = "0x182F3F250")]
private int ReadInternal(byte[] array, int offset, int count)
{
return 0;
}
/// Reads a number of decompressed bytes into the specified byte array.
/// The array 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 read into the byte array.
///
/// 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: 0x06000D73 RID: 3443 RVA: 0x00006E10 File Offset: 0x00005010
[Token(Token = "0x6000D73")]
[Address(RVA = "0x2F3F340", Offset = "0x2F3E340", VA = "0x182F3F340", Slot = "27")]
public override int Read(byte[] array, int offset, int count)
{
return 0;
}
// Token: 0x06000D74 RID: 3444 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000D74")]
[Address(RVA = "0x2F3F680", Offset = "0x2F3E680", VA = "0x182F3F680")]
private void WriteInternal(byte[] array, int offset, int count)
{
}
/// 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.
// Token: 0x06000D75 RID: 3445 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000D75")]
[Address(RVA = "0x2F3F760", Offset = "0x2F3E760", VA = "0x182F3F760", Slot = "29")]
public override void Write(byte[] array, int offset, int count)
{
}
/// The current implementation of this method has no functionality.
/// The stream is closed.
// Token: 0x06000D76 RID: 3446 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000D76")]
[Address(RVA = "0x2F3F110", Offset = "0x2F3E110", VA = "0x182F3F110", Slot = "17")]
public override void Flush()
{
}
/// 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.
/// This call cannot be completed.
// Token: 0x06000D77 RID: 3447 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000D77")]
[Address(RVA = "0x2F3E880", Offset = "0x2F3D880", VA = "0x182F3E880", Slot = "19")]
public override IAsyncResult BeginRead(byte[] array, int offset, int count, AsyncCallback asyncCallback, object asyncState)
{
return null;
}
/// Begins an asynchronous write operation. (Consider using the method instead.)
/// The buffer to write data from.
/// The byte offset in to begin writing from.
/// 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 method tried to write 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 write operation.
/// The write operation cannot be performed because the stream is closed.
// Token: 0x06000D78 RID: 3448 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000D78")]
[Address(RVA = "0x2F3EB20", Offset = "0x2F3DB20", VA = "0x182F3EB20", Slot = "22")]
public override IAsyncResult BeginWrite(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.
/// An exception was thrown during a call to .
/// The end call is invalid because asynchronous read operations for this stream are not yet complete.
/// -or-
/// The stream is .
// Token: 0x06000D79 RID: 3449 RVA: 0x00006E28 File Offset: 0x00005028
[Token(Token = "0x6000D79")]
[Address(RVA = "0x2F3EE40", Offset = "0x2F3DE40", VA = "0x182F3EE40", Slot = "20")]
public override int EndRead(IAsyncResult asyncResult)
{
return 0;
}
/// Ends an asynchronous write operation. (Consider using the method instead.)
/// A reference to the outstanding asynchronous I/O request.
///
/// is .
///
/// did not originate from a method on the current stream.
/// An exception was thrown during a call to .
/// The stream is .
/// -or-
/// The end write call is invalid.
// Token: 0x06000D7A RID: 3450 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000D7A")]
[Address(RVA = "0x2F3EFB0", Offset = "0x2F3DFB0", VA = "0x182F3EFB0", Slot = "23")]
public override void EndWrite(IAsyncResult asyncResult)
{
}
/// This operation 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: 0x06000D7B RID: 3451 RVA: 0x00006E40 File Offset: 0x00005040
[Token(Token = "0x6000D7B")]
[Address(RVA = "0x2F3F5E0", Offset = "0x2F3E5E0", VA = "0x182F3F5E0", Slot = "25")]
public override long Seek(long offset, SeekOrigin origin)
{
return 0L;
}
/// This operation is not supported and always throws a .
/// The length of the stream.
/// This property is not supported on this stream.
// Token: 0x06000D7C RID: 3452 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000D7C")]
[Address(RVA = "0x2F3F630", Offset = "0x2F3E630", VA = "0x182F3F630", Slot = "26")]
public override void SetLength(long value)
{
}
/// Gets a value indicating whether the stream supports reading while decompressing a file.
///
/// if the value is , and the underlying stream is opened and supports reading; otherwise, .
// Token: 0x1700027F RID: 639
// (get) Token: 0x06000D7D RID: 3453 RVA: 0x00006E58 File Offset: 0x00005058
[Token(Token = "0x1700027F")]
public override bool CanRead
{
[Token(Token = "0x6000D7D")]
[Address(RVA = "0x2F3FCC0", Offset = "0x2F3ECC0", VA = "0x182F3FCC0", Slot = "7")]
get
{
return default(bool);
}
}
/// Gets a value indicating whether the stream supports seeking.
///
/// in all cases.
// Token: 0x17000280 RID: 640
// (get) Token: 0x06000D7E RID: 3454 RVA: 0x00006E70 File Offset: 0x00005070
[Token(Token = "0x17000280")]
public override bool CanSeek
{
[Token(Token = "0x6000D7E")]
[Address(RVA = "0x424690", Offset = "0x423690", VA = "0x180424690", Slot = "8")]
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: 0x17000281 RID: 641
// (get) Token: 0x06000D7F RID: 3455 RVA: 0x00006E88 File Offset: 0x00005088
[Token(Token = "0x17000281")]
public override bool CanWrite
{
[Token(Token = "0x6000D7F")]
[Address(RVA = "0x2F3FD00", Offset = "0x2F3ED00", VA = "0x182F3FD00", Slot = "9")]
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: 0x17000282 RID: 642
// (get) Token: 0x06000D80 RID: 3456 RVA: 0x00006EA0 File Offset: 0x000050A0
[Token(Token = "0x17000282")]
public override long Length
{
[Token(Token = "0x6000D80")]
[Address(RVA = "0x2F3FD40", Offset = "0x2F3ED40", VA = "0x182F3FD40", 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: 0x17000283 RID: 643
// (get) Token: 0x06000D81 RID: 3457 RVA: 0x00006EB8 File Offset: 0x000050B8
// (set) Token: 0x06000D82 RID: 3458 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x17000283")]
public override long Position
{
[Token(Token = "0x6000D81")]
[Address(RVA = "0x2F3FD90", Offset = "0x2F3ED90", VA = "0x182F3FD90", Slot = "11")]
get
{
return 0L;
}
[Token(Token = "0x6000D82")]
[Address(RVA = "0x2F3FDE0", Offset = "0x2F3EDE0", VA = "0x182F3FDE0", Slot = "12")]
set
{
}
}
// Token: 0x0400075F RID: 1887
[FieldOffset(Offset = "0x28")]
[Token(Token = "0x400075F")]
private Stream base_stream;
// Token: 0x04000760 RID: 1888
[FieldOffset(Offset = "0x30")]
[Token(Token = "0x4000760")]
private CompressionMode mode;
// Token: 0x04000761 RID: 1889
[FieldOffset(Offset = "0x34")]
[Token(Token = "0x4000761")]
private bool leaveOpen;
// Token: 0x04000762 RID: 1890
[FieldOffset(Offset = "0x35")]
[Token(Token = "0x4000762")]
private bool disposed;
// Token: 0x04000763 RID: 1891
[FieldOffset(Offset = "0x38")]
[Token(Token = "0x4000763")]
private DeflateStreamNative native;
// Token: 0x0200020D RID: 525
// (Invoke) Token: 0x06000D84 RID: 3460
[Token(Token = "0x200020D")]
private delegate int ReadMethod(byte[] array, int offset, int count);
// Token: 0x0200020E RID: 526
// (Invoke) Token: 0x06000D88 RID: 3464
[Token(Token = "0x200020E")]
private delegate void WriteMethod(byte[] array, int offset, int count);
}
}