#NEWLINE# def get_ui16( f ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# ret = struct . unpack ( '>H' , f . read ( 2 ) ) [ 0 ] #NEWLINE# #UNINDENT# except struct . error : #NEWLINE# #INDENT# raise EndOfFile #NEWLINE# #UNINDENT# return f