Ruby 直接对内存中的字符串进行压缩和解压 2015/02/12 35103 清华大佬耗费三个月吐血整理的几百G的资源,免费分享!....>>> require 'zlib' deflated = Zlib::Deflate.deflate("this is a test.") puts deflated puts Zlib::Inflate.inflate(deflated)