# Table of Contents - zlib: Ruby Standard Library Documentation

## Classes and Modules

- Zlib
  - Sample usage
  - Class tree
- Zlib::BufError
- Zlib::DataError
- Zlib::Deflate
- Zlib::Error
- Zlib::GzipFile
  - Method Catalogue
- Zlib::GzipFile::CRCError
- Zlib::GzipFile::Error
- Zlib::GzipFile::LengthError
- Zlib::GzipFile::NoFooter
- Zlib::GzipReader
  - Method Catalogue
- Zlib::GzipWriter
- Zlib::InProgressError
- Zlib::Inflate
- Zlib::MemError
- Zlib::NeedDict
- Zlib::StreamEnd
- Zlib::StreamError
- Zlib::VersionError
- Zlib::ZStream
  - Method Catalogue

## Methods

- ::adler32 — Zlib
- ::adler32_combine — Zlib
- ::crc32 — Zlib
- ::crc32_combine — Zlib
- ::crc_table — Zlib
- ::deflate — Zlib::Deflate
- ::deflate — Zlib
- ::gunzip — Zlib
- ::gzip — Zlib
- ::inflate — Zlib::Inflate
- ::inflate — Zlib
- ::new — Zlib::Deflate
- ::new — Zlib::Inflate
- ::new — Zlib::GzipWriter
- ::new — Zlib::GzipReader
- ::open — Zlib::GzipWriter
- ::open — Zlib::GzipReader
- ::wrap — Zlib::GzipFile
- ::zcat — Zlib::GzipReader
- ::zlib_version — Zlib
- #<< — Zlib::Deflate
- #<< — Zlib::Inflate
- #<< — Zlib::GzipWriter
- #add_dictionary — Zlib::Inflate
- #adler — Zlib::ZStream
- #avail_in — Zlib::ZStream
- #avail_out — Zlib::ZStream
- #avail_out= — Zlib::ZStream
- #close — Zlib::ZStream
- #close — Zlib::GzipFile
- #closed? — Zlib::ZStream
- #closed? — Zlib::GzipFile
- #comment — Zlib::GzipFile
- #comment= — Zlib::GzipWriter
- #crc — Zlib::GzipFile
- #data_type — Zlib::ZStream
- #deflate — Zlib::Deflate
- #each — Zlib::GzipReader
- #each_byte — Zlib::GzipReader
- #each_char — Zlib::GzipReader
- #each_line — Zlib::GzipReader
- #end — Zlib::ZStream
- #ended? — Zlib::ZStream
- #eof — Zlib::GzipReader
- #eof? — Zlib::GzipReader
- #external_encoding — Zlib::GzipReader
- #finish — Zlib::ZStream
- #finish — Zlib::GzipFile
- #finished? — Zlib::ZStream
- #flush — Zlib::Deflate
- #flush — Zlib::GzipWriter
- #flush_next_in — Zlib::ZStream
- #flush_next_out — Zlib::ZStream
- #getbyte — Zlib::GzipReader
- #getc — Zlib::GzipReader
- #gets — Zlib::GzipReader
- #inflate — Zlib::Inflate
- #initialize_copy — Zlib::Deflate
- #inspect — Zlib::GzipFile::Error
- #level — Zlib::GzipFile
- #lineno — Zlib::GzipReader
- #lineno= — Zlib::GzipReader
- #mtime — Zlib::GzipFile
- #mtime= — Zlib::GzipWriter
- #orig_name — Zlib::GzipFile
- #orig_name= — Zlib::GzipWriter
- #os_code — Zlib::GzipFile
- #params — Zlib::Deflate
- #pos — Zlib::GzipWriter
- #pos — Zlib::GzipReader
- #print — Zlib::GzipWriter
- #printf — Zlib::GzipWriter
- #putc — Zlib::GzipWriter
- #puts — Zlib::GzipWriter
- #read — Zlib::GzipReader
- #readbyte — Zlib::GzipReader
- #readchar — Zlib::GzipReader
- #readline — Zlib::GzipReader
- #readlines — Zlib::GzipReader
- #readpartial — Zlib::GzipReader
- #reset — Zlib::ZStream
- #rewind — Zlib::GzipReader
- #set_dictionary — Zlib::Deflate
- #set_dictionary — Zlib::Inflate
- #stream_end? — Zlib::ZStream
- #sync — Zlib::Inflate
- #sync — Zlib::GzipFile
- #sync= — Zlib::GzipFile
- #sync_point? — Zlib::Inflate
- #tell — Zlib::GzipWriter
- #tell — Zlib::GzipReader
- #to_io — Zlib::GzipFile
- #total_in — Zlib::ZStream
- #total_out — Zlib::ZStream
- #ungetbyte — Zlib::GzipReader
- #ungetc — Zlib::GzipReader
- #unused — Zlib::GzipReader
- #write — Zlib::GzipWriter