parameters: (s)
return_statement: return b''.join(pairList[::-1]).decode()
docstring: Switches the endianness of a hex string (in pairs of hex chars)
docstring_summary: Switches the endianness of a hex string (in pairs of hex chars)
docstring_tokens: Switches the endianness of a hex string ( in pairs of hex chars )
function: def hex_switchEndian(s):
      """ Switches the endianness of a hex string (in pairs of hex chars) """
      pairList = [s[i:i+2].encode() for i in range(0, len(s), 2)]
      return b''.join(pairList[::-1]).decode()
function_tokens: def hex_switchEndian ( s ) : pairList = [ s [ i : i + 2 ] . encode ( ) for i in range ( 0 , len ( s ) , 2 ) ] return b'' . join ( pairList [ : : - 1 ] ) . decode ( )