#NEWLINE# def be_array_from_bytes( fmt , data ) : #NEWLINE# #INDENT# '\n    Reads an array from bytestring with big-endian data.\n    ' #NEWLINE# arr = array . array ( str ( fmt ) , arr ) #NEWLINE# return fix_byteorder ( arr )