Property | Type | Description | |
---|---|---|---|
crc |
Method | Description | |
---|---|---|
Finish ( ) : void |
Finish compression and write any footer information required to stream
|
|
GZipOutputStream ( Stream baseOutputStream ) : System |
Creates a GzipOutputStream with the default buffer size
|
|
GZipOutputStream ( Stream baseOutputStream, int size ) : System |
Creates a GZipOutputStream with the specified buffer size
|
|
GetLevel ( ) : int |
Get the current compression level.
|
|
SetLevel ( int level ) : void |
Sets the active compression level (1-9). The new level will be activated immediately.
|
|
Write ( byte buffer, int offset, int count ) : void |
Write given buffer to output updating crc
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Writes remaining compressed output data to the output stream and closes it.
|
|
WriteHeader ( ) : void |
public GZipOutputStream ( Stream baseOutputStream ) : System | ||
baseOutputStream | Stream | /// The stream to read data (to be compressed) from /// |
return | System |
public GZipOutputStream ( Stream baseOutputStream, int size ) : System | ||
baseOutputStream | Stream | /// The stream to read data (to be compressed) from /// |
size | int | /// Size of the buffer to use /// |
return | System |
public SetLevel ( int level ) : void | ||
level | int | The compression level to set. |
return | void |
public Write ( byte buffer, int offset, int count ) : void | ||
buffer | byte | Buffer to write |
offset | int | Offset of first byte in buf to write |
count | int | Number of bytes to write |
return | void |