def num_2_byte_list(num):
    """
    convert num to byte list
    :param num:
    :return:
    """
    byte = []
    while num > 0:
        b = num & 255
        byte.append(b)
        num = num >> 8
    return list(reversed(byte))
