(file, endian, num=1)
return res
Read a given number of 32-bits unsigned integers from the given file
    with the given endianness.
Read a given number of 32-bits unsigned integers from the given file
    with the given endianness.
Read a given number of 32 - bits unsigned integers from the given file with the given endianness .
def read_data(file, endian, num=1):
    """
    Read a given number of 32-bits unsigned integers from the given file
    with the given endianness.
    """
    res = struct.unpack(endian + 'L' * num, file.read(num * 4))
    if len(res) == 1:
        return res[0]
    return res
def read_data ( file , endian , num = 1 ) : res = struct . unpack ( endian + 'L' * num , file . read ( num * 4 ) ) if len ( res ) == 1 : return res [ 0 ] return res