(self)
return None
Parses a bytestring containing an event.
Parses a bytestring containing an event.
Parses a bytestring containing an event .
def _parse_event(self):
        """
        Parses a bytestring containing an event.
        """
        tmp = self._data[0].find(b" ")
        event, itemlist = self._data[0][:tmp], self._data[0][tmp:]

        try:
            self._event = event.decode()
        except UnicodeDecodeError as err:
            raise TS3ParserError(self, err)

        self._parsed = self._parse_itemlist(itemlist)
        return None
def _parse_event ( self ) : tmp = self . _data [ 0 ] . find ( b" " ) event , itemlist = self . _data [ 0 ] [ : tmp ] , self . _data [ 0 ] [ tmp : ] try : self . _event = event . decode ( ) except UnicodeDecodeError as err : raise TS3ParserError ( self , err ) self . _parsed = self . _parse_itemlist ( itemlist ) return None