rsnappy.rb
############
#  New functions added by Peter O.

New functions added by Peter O.
New functions added by Peter O .
def snappyCompress(x)
  x=x.unpack("C*")
  sc=SnappyCompressor.new(x)
  ret=[]
  sc.compressToBuffer(ret)
  return ret.pack("C*")
end
def snappyCompress ( x ) x = x . unpack ( "C*" ) sc = SnappyCompressor . new ( x ) ret = [ ] sc . compressToBuffer ( ret ) return ret . pack ( "C*" ) end
New functions added by Peter O.
New functions added by Peter O .
x
<not_specific>