DeflateStream.Read Method (Byte, Int32, Int32)
Reads a number of decompressed bytes into the specified byte array.
Assembly: System (in System.dll)
The array to store decompressed bytes.
The byte offset in array at which the read bytes will be placed.
The maximum number of decompressed bytes to read.
Return ValueType: System.Int32
The number of bytes that were read into the byte array.
array is null.
The CompressionMode value was Compress when the object was created.
- or -
The underlying stream does not support reading.
offset or count is less than zero.
array length minus the index starting point is less than count.
The data is in an invalid format.
The stream is closed.
Available since 8
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Available since 8.1