class PDF::Reader::Filter

def flate (data)

Decode the specified data with the Zlib compression algorithm
###############################################################################
def flate (data)
  begin
    z = Zlib::Inflate.new
    z.inflate(data)
  rescue Exception => e
    raise MalformedPDFError, "Error occured while inflating a compressed stream (#{e.class.to_s}: #{e.to_s})"
  end
end