<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def data(self, data):
 """Use a length prefixed protocol to give the length of a pickled message. """

        self._buffer = self._buffer + data

        while self._data_handler():
            pass