def needs_data(self, data, length):
        """
        :return: None
        """
        assert isinstance(data, bytes)
        if len(data) < length:
            self.parser_error("needs " + str(length) + " bytes of data have " + str(len(data)))
:return: None