def wr_long(f, x):
 f.write(chr((x & 255)))
 f.write(chr(((x >> 8) & 255)))
 f.write(chr(((x >> 16) & 255)))
 f.write(chr(((x >> 24) & 255)))

def wr_long ( f , x ) : f . write ( chr ( ( x & 255 ) ) ) f . write ( chr ( ( ( x >> 8 ) & 255 ) ) ) f . write ( chr ( ( ( x >> 16 ) & 255 ) ) ) f . write ( chr ( ( ( x >> 24 ) & 255 ) ) )
internal; write a 32-bit int to a file in little-endian order .