pylab_ml.common.data.byte2uint

byte2uint(list8)[source]

Return a list with 32-bit data from a imput list with 8-bit data.

eg. byte2uint([0x01, 0x02, 0x03, 0x04]) -> [0x04030201]

byte2uint([0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08]) -> [0x04030201, 0x08070605]

Parameters:

list8 (list of 8-bit values)

Returns:

list32

Return type:

list of 32-bit values