def receive_message(self):
<EOL>while len(self._read_buffer) >= INT_SIZE_IN_BYTES:<EOL><INDENT>frame_length = struct.unpack_from(FMT_LE_INT, self._read_buffer, <NUM_LIT:0>)[<NUM_LIT:0>]<EOL>if frame_length > len(self._read_buffer):<EOL><INDENT>return<EOL><DEDENT>message = ClientMessage(memoryview(self._read_buffer)[:frame_length])<EOL>self._read_buffer = self._read_buffer[frame_length:]<EOL>self._builder.on_message(message)<EOL><DEDENT>
Receives a message from this connection.