Ruby Zlib::GzipFile Functions
EditRocket provides the following information on Zlib::GzipFile functions in the Ruby source code builder.
close() - Closes the GzipFile object. This method calls close method of the associated IO object. Returns the associated IO object.
closed?() - Same as IO.
comment() - Returns comments recorded in the gzip file header, or nil if the comments is not present.
crc() - Returns CRC value of the uncompressed data.
finish() - 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.
level() - Returns compression level.
mtime() - Returns last modification time recorded in the gzip file header.
orig_name() - Returns original filename recorded in the gzip file header, or nil if original filename is not present.
os_code() - Returns OS code number recorded in the gzip file header.
sync= - Same as IO. If flag is true, the associated IO object must respond to the flush method. While sync mode is true, the compression ratio decreases sharply.
sync() - Same as IO.
to_io() - Same as IO.
wrap(...) - See Zlib::GzipReader#wrap and Zlib::GzipWriter#wrap.