Ionic Zip Library v1.9.1.6
Write Method (buffer, offset, count)
Reference ► Ionic.Zlib ► GZipStream ► Write(array<Byte>[]()[][], Int32, Int32)
Write data to the stream.
Declaration Syntax
Remarks
If you wish to use the GZipStream to compress data while writing, you can create a GZipStream with CompressionMode.Compress, and a writable output stream. Then call Write() on that GZipStream, providing uncompressed data as input. The data sent to the output stream will be the compressed form of the data written.
A GZipStream can be used for Read() or Write(), but not both. Writing implies compression. Reading implies decompression.