binary?

in lib/linguist/blob_helper.rb [125:143]


    def binary?
      
      if data.nil?
        true

      
      elsif data == ""
        false

      
      elsif encoding.nil?
        true

      
      else
        detect_encoding[:type] == :binary
      end
    end