def PackIntSet(ints):
 if (len(ints) > 15):
  return ('\xff\xff\xff\xff' + zlib.compress(intlist_to_bitmask(ints)))
 else:
  return struct.pack(('<' + ('I' * len(ints))), *ints)

def PackIntSet ( ints ) : if ( len ( ints ) > 15 ) : return ( '\xff\xff\xff\xff' + zlib . compress ( intlist_to_bitmask ( ints ) ) ) else : return struct . pack ( ( '<' + ( 'I' * len ( ints ) ) ) , * ints )
pack a set of ints to a compact string .