'Collect data for a get.'

def rawDataReceived(self, data):

    self.resetTimeout()
    self._getBuffer.append(data)
    self._bufferLength += len(data)
    if (self._bufferLength >= (self._lenExpected + 2)):
        data = ''.join(self._getBuffer)
        buf = data[:self._lenExpected]
        rem = data[(self._lenExpected + 2):]
        val = buf
        self._lenExpected = None
        self._getBuffer = None
        self._bufferLength = None
        cmd = self._current[0]
        if cmd.multiple:
            (flags, cas) = cmd.values[cmd.currentKey]
            cmd.values[cmd.currentKey] = (flags, cas, val)
        else:
            cmd.value = val
        self.setLineMode(rem)
