def write_pack_header(f, num_objects):
 f.write('PACK')
 f.write(struct.pack('>L', 2))
 f.write(struct.pack('>L', num_objects))

def write_pack_header ( f , num_objects ) : f . write ( 'PACK' ) f . write ( struct . pack ( '>L' , 2 ) ) f . write ( struct . pack ( '>L' , num_objects ) )
write a pack header for the given number of objects .