         # File lib/protocols/memcache.rb, line 125
    125:       def receive_data data
    126:         (@buffer||='') << data
    127:
    128:         while index = @buffer.index(Cdelimiter)
    129:           begin
    130:             line = @buffer.slice!(0,index+2)
    131:             process_cmd line
    132:           rescue ParserError
    133:             @buffer[0...0] = line
    134:             break
    135:           end
    136:         end
    137:       end