(self, value)
Set Mode
            value = 'hex' or 'ascii'
Set Mode
            value = 'hex' or 'ascii'
Set Mode value = hex or ascii
def mode(self, value):
        """ Set Mode
            value = 'hex' or 'ascii'
        """
        if value in ('hex', 'ascii'):
            self._mode = value
def mode ( self , value ) : if value in ( 'hex' , 'ascii' ) : self . _mode = value