Ruby Zlib::GzipReader Functions
EditRocket provides the following information on Zlib::GzipReader functions in the Ruby source code builder.
each(...) - See Zlib::GzipReader documentation for a description.
each_byte() - See Zlib::GzipReader documentation for a description.
each_line(...) - See Zlib::GzipReader documentation for a description.
eof?() - ???
eof() - ???
getc() - See Zlib::GzipReader documentation for a description.
gets(...) - See Zlib::GzipReader documentation for a description.
lineno=(p1) - ???
lineno() - ???
new" Zlib::GzipReader.new(io) - Creates a GzipReader object associated with io. The GzipReader object reads gzipped data from io, and parses/decompresses them. At least, io must have a read method that behaves same as the read method in IO class.
open" Zlib::GzipReader.open(filename) - Opens a file specified by filename as a gzipped file, and returns a GzipReader object associated with that file. Further details of this method are in Zlib::GzipReader.new and ZLib::GzipReader.wrap.
pos() - ???
read(...) - See Zlib::GzipReader documentation for a description.
readchar() - See Zlib::GzipReader documentation for a description.
readline(...) - See Zlib::GzipReader documentation for a description.
readlines(...) - See Zlib::GzipReader documentation for a description.
rewind() - Resets the position of the file pointer to the point created the GzipReader object. The associated IO object needs to respond to the seek method.
tell() - ???
ungetc(p1) - See Zlib::GzipReader documentation for a description.
unused() - Returns the rest of the data which had read for parsing gzip format, or nil if the whole gzip file is not parsed yet.