Flowdock
method

inflate

Importance_1
Ruby latest stable (v1_9_3_392) - 0 notes - Class: Zlib
inflate(p1) public

Decompresses string. Raises a Zlib::NeedDict exception if a preset dictionary is needed for decompression.

This method is almost equivalent to the following code:

def inflate(string)
  zstream = Zlib::Inflate.new
  buf = zstream.inflate(string)
  zstream.finish
  zstream.close
  buf
end

See also Zlib.deflate

Show source
Register or log in to add new notes.