GZipOutputStream Methods
The methods of the GZipOutputStream class are listed below. For a complete list of GZipOutputStream class members, see the GZipOutputStream Members topic.
Public Instance Methods
| Asynchronous reads are not supported a NotSupportedException is always thrown | |
| Asynchronous writes arent supported, a NotSupportedException is always thrown | |
| Writes remaining compressed output data to the output stream and closes it. | |
| Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. | |
| Waits for the pending asynchronous read to complete. | |
| Ends an asynchronous write operation. | |
| Determines whether the specified Object is equal to the current Object. | |
| Finish compression and write any footer information required to stream | |
| Flushes the stream by calling flush() on the deflater and then on the underlying stream. This ensures that all bytes are flushed. | |
| Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. | |
| Get the current compression level. | |
| Retrieves the current lifetime service object that controls the lifetime policy for this instance. | |
| Gets the Type of the current instance. | |
| Obtains a lifetime service object to control the lifetime policy for this instance. | |
| Read a block of bytes from stream | |
| Read a byte from stream advancing position by one | |
| Sets the current position of this stream to the given value. Not supported by this class! | |
| Sets the length of this stream to the given value. Not supported by this class! | |
| Sets the active compression level (1-9). The new level will be activated immediately. | |
| Returns a String that represents the current Object. | |
| Write given buffer to output updating crc | |
| Writes a single byte to the compressed output stream. |
Protected Instance Methods
| Allocates a WaitHandle object. | |
Deflates everything in the input buffers. This will call def.deflate()until all bytes from the input buffers are processed. | |
| Encrypt a block of data | |
| Encrypt a single byte | |
| Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. | |
| Initializes encryption keys based on given password | |
| Creates a shallow copy of the current Object. | |
| Update encryption keys |
See Also
GZipOutputStream Class | ICSharpCode.SharpZipLib.GZip Namespace