# File lib/ttfunk/resource_file.rb, line 53
    def [](type, index=0)
      if @map[type]
        collection = index.is_a?(Fixnum) ? :list : :named
        if @map[type][collection][index]
          parse_from(@map[type][collection][index][:offset]) do
            length = @io.read(4).unpack("N").first
            return @io.read(length)
          end
        end
      end
    end