def be_array_from_bytes(fmt, data):
    arr = array.array(str(fmt), data)
    return fix_byteorder(arr)
Reads an array from bytestring with big-endian data.
dataset/ETHPy150Open psd-tools/psd-tools/src/psd_tools/utils.py/be_array_from_bytes