<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def be_array_from_bytes(fmt, data):
 """ Reads an array from bytestring with big-endian data. """

    arr = array.array(str(fmt), data)
    return fix_byteorder(arr)