@graycardinalster: "require "zlib"
def inflate(string)
  zstream = Zli888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4Inflate.new
  buf = zstream.inflate(string)
  zstream.finish
  zstream.close
  buf
end
Work fine with ruby 1.8, and do not work in ruby 1.9
#<Zli888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4BufError: buffer error>
what is wrong ?
Oleg.
Posted via <url>"
    @bbxx789_05ss: "<quote>
require "zlib"
def deflate(string)
  zipper = Zli888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4Deflate.new
  data = zipper.deflate("hello world", Zli888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4FINISH)
end
def inflate(string)
  zstream = Zli888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4Inflate.new
  buf = zstream.inflate(string)
  zstream.finish
  zstream.close
  buf
end
compressed = deflate("hello world")
p compressed
uncompressed = inflate(compressed)
puts uncompressed
$ ruby19 -v
ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-darwin8.11.1]
$ ruby19 r1test.rb
"x\x9C\xCBH\xCD\xC9\xC9W(\xCF/\xCAI\x01\x00\x1A\v\x04]"
hello world
Posted via <url>"
{'source': 'USENET', 'other_information': '{"reply_count": 1, "forum_name": "comp.lang.ruby.20141210.mbox"}', 'file': 'data/output/usenet-comp.lang.parquet'}