Method: Zip::DecryptedIo#initialize
- Defined in:
- lib/zip/crypto/decrypted_io.rb
#initialize(io, decrypter, compressed_size) ⇒ DecryptedIo
Returns a new instance of DecryptedIo.
7 8 9 10 11 12 |
# File 'lib/zip/crypto/decrypted_io.rb', line 7 def initialize(io, decrypter, compressed_size) @io = io @decrypter = decrypter @bytes_remaining = compressed_size @buffer = +'' end |