# File lib/gpgme.rb, line 60
    def self.new_from_mem(buf)
      dh = []
      GPGME::check_error(:gpgme_data_new_from_mem, dh, buf)
      dh[0]
    end