rewind()
public
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.
Show source
/*
* 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.
*/
static VALUE
rb_gzreader_rewind(obj)
VALUE obj;
{
struct gzfile *gz = get_gzfile(obj);
gzfile_reader_rewind(gz);
return INT2FIX(0);
}