GZipStream.Write Method (Byte[], Int32, Int32)
.NET Framework (current version)
Writes compressed bytes to the underlying stream from the specified byte array.
Assembly: System (in System.dll)
Parameters
- array
-
Type:
System.Byte[]
The buffer that contains the data to compress.
- offset
-
Type:
System.Int32
The byte offset in array from which the bytes will be read.
- count
-
Type:
System.Int32
The maximum number of bytes to write.
| Exception | Condition |
|---|---|
| ObjectDisposedException | The write operation cannot be performed because the stream is closed. |
Universal Windows Platform
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Show: