xar unarchiver (.xar, .pkg, .xip)
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

update to compress/zlib

+2 -2
+2 -2
czar.cr
··· 1 1 #!/usr/bin/env crystal 2 2 3 3 require "binary_parser" 4 - require "zlib" 4 + require "compress/zlib" 5 5 require "xml" 6 6 7 7 def perror(msg : String) ··· 175 175 176 176 toc_data = Bytes.new header.length_uncompressed 177 177 file.seek header.header_size 178 - Zlib::Reader.open file do |zfile| 178 + Compress::Zlib::Reader.open file do |zfile| 179 179 zfile.read toc_data 180 180 end 181 181