def _remove_esc_chars(self, raw_message):
message = []<EOL>escape_next = False<EOL>for c in raw_message:<EOL><INDENT>if escape_next:<EOL><INDENT>message.append(c ^ self._ESC_XOR)<EOL>escape_next = False<EOL><DEDENT>else:<EOL><INDENT>if c == self._ESC:<EOL><INDENT>escape_next = True<EOL><DEDENT>else:<EOL><INDENT>message.append(c)<EOL><DEDENT><DEDENT><DEDENT>return message<EOL>
Removes any escape characters from the message
:param raw_message: a list of bytes containing the un-processed data
:return: a message that has the escaped characters appropriately un-escaped