rubyzip/lib/zip/decompressor.rb

19 lines
431 B
Ruby
Raw Normal View History

module Zip
2017-06-29 10:57:12 +08:00
class Decompressor #:nodoc:all
2015-03-24 00:23:04 +08:00
CHUNK_SIZE = 32_768
attr_reader :decompressed_size
def initialize(input_stream, decompressed_size = nil)
super()
@input_stream = input_stream
@decompressed_size = decompressed_size
end
end
end
# Copyright (C) 2002, 2003 Thomas Sondergaard
# rubyzip is free software; you can redistribute it and/or
# modify it under the terms of the ruby license.