code: def _recv_string(self,value):
          
  
          s = value.decode('ascii')
  
          # Strip null characters
          s = s.strip("\x00")
  
          # Strip other white space
          s = s.strip()
  
          return s
docs: Recieve a binary (bytes) string, returning a python string.