# File lib/mimemagic.rb, line 80
  def self.by_magic(io)
    mime = magic_match(io, :find)
    mime && new(mime[0])
  end