| Class | Zlib::GzipFile |
| In: |
ext/zlib/zlib.c
|
| Parent: | Object |
Zlib::GzipFile is an abstract class for handling a gzip formatted compressed file. The operations are defined in the subclasses, Zlib::GzipReader for reading, and Zlib::GzipWriter for writing.
GzipReader should be used by associating an IO, or IO-like, object.
Closes the GzipFile object. Unlike Zlib::GzipFile#close, this method never calls the close method of the associated IO object. Returns the associated IO object.
Returns original filename recorded in the gzip file header, or nil if original filename is not present.