def _read_int32(f):
 return np.int32(struct.unpack('>i', f.read(4))[0])

def _read_int32 ( f ) : return np . int32 ( struct . unpack ( '>i' , f . read ( 4 ) ) [ 0 ] )
unpack a 4-byte integer from the current position in file f .