def seek(offset, whence = IO::SEEK_SET)
      GPGME::gpgme_data_seek(self, offset, IO::SEEK_SET)
    end
def seek(offset, whence = IO::SEEK_SET)
      GPGME::gpgme_data_seek(self, offset, IO::SEEK_SET)
    end
Seek to a given +offset+ in the data object according to the
 value of +whence+.

 @example going to the beginning of the buffer after writing something
  data = GPGME::Data.new("Some data")
  data.read # => "Some data"
  data.read # => ""
  data.seek 0
  data.read # => "Some data"