#NEWLINE# def get_si32_extended( f ) : #NEWLINE# #INDENT# low_high = f . read ( 4 ) #NEWLINE# if ( len ( low_high ) < 4 ) : #NEWLINE# #INDENT# raise EndOfFile #NEWLINE# #UNINDENT# combined = ( low_high [ 3 ] + low_high [ : 3 ] ) #NEWLINE# return struct . unpack ( '>i' , combined ) [ 0 ]