Example #1
0
 def __str__(self):
     return self._name + ':' +  to_printable(self._value) 
Example #2
0
 def __str__(self):
     if self._type_byte_nr == 0:
         return self._name + ":" + to_printable(self._value)
     
     return self._name + ":" + 'type is ' + str(self._type)+' | value is ' + to_printable(self._value) 
Example #3
0
 def resume_parse(self):
     for each_field in self._fields[self._field_nr_to_start_parse:]:
         self._bitsmap_position_to_start_parse = \
             each_field.parse(self._bitsmap_to_be_pasrsed, self._bitsmap_position_to_start_parse)        
         self._field_nr_to_start_parse += 1
         self._log("the field: %s parsed, the value is: %s" % (each_field._name, to_printable(each_field._value)))