Class: Zippo::Filter::DeflateUncompressor
- Inherits:
-
Uncompressor
- Object
- Uncompressor
- Zippo::Filter::DeflateUncompressor
- Defined in:
- lib/zippo/filter/uncompressor/deflate.rb
Overview
Uncompresses the data using Zlib.
Constant Summary collapse
- METHOD =
8
Constants included from Base
Instance Method Summary collapse
-
#initialize(io, compressed_size, zlib = Zlib::Inflate.new(-Zlib::MAX_WBITS)) ⇒ DeflateUncompressor
constructor
no header.
Methods inherited from Uncompressor
#read, #uncompress, #uncompress_to
Methods included from Base
Constructor Details
#initialize(io, compressed_size, zlib = Zlib::Inflate.new(-Zlib::MAX_WBITS)) ⇒ DeflateUncompressor
no header
11 12 13 14 |
# File 'lib/zippo/filter/uncompressor/deflate.rb', line 11 def initialize(io, compressed_size, zlib = Zlib::Inflate.new(-Zlib::MAX_WBITS)) # no header super(io, compressed_size) @zlib = zlib end |