def _bytelist2longBigEndian(list):
imax = len(list) // <NUM_LIT:4><EOL>hl = [<NUM_LIT:0>] * imax<EOL>j = <NUM_LIT:0><EOL>i = <NUM_LIT:0><EOL>while i < imax:<EOL><INDENT>b0 = ord(list[j]) << <NUM_LIT><EOL>b1 = ord(list[j+<NUM_LIT:1>]) << <NUM_LIT:16><EOL>b2 = ord(list[j+<NUM_LIT:2>]) << <NUM_LIT:8><EOL>b3 = ord(list[j+<NUM_LIT:3>])<EOL>hl[i] = b0 | b1 | b2 | b3<EOL>i = i+<NUM_LIT:1><EOL>j = j+<NUM_LIT:4><EOL><DEDENT>return hl<EOL>
Transform a list of characters into a list of longs.