def hex_encode(data, errors='strict'):
    return (serial.to_bytes([int(h, 16) for h in data.split()]), len(data))
Returns:
dataset/ETHPy150Open pyserial/pyserial/serial/tools/hexlify_codec.py/hex_encode--crossover with--dataset/ETHPy150Open meraki-analytics/cassiopeia/cassiopeia/type/core/stats.py/AggregatedStats.triple_kills