Method: Zlib::GzipReader#rewind
- Defined in:
- zlib.c
#rewind ⇒ Object
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.
4060 4061 4062 4063 4064 4065 4066 |
# File 'zlib.c', line 4060 static VALUE rb_gzreader_rewind(VALUE obj) { struct gzfile *gz = get_gzfile(obj); gzfile_reader_rewind(gz); return INT2FIX(0); } |