# File lib/em/protocols/line_protocol.rb, line 15
      def receive_data data
        (@buf ||= '') << data

        while line = @buf.slice!(/(.*)\r?\n/)
          receive_line(line)
        end
      end