posted 15 years ago
Since BitSet is Serializable, you can serialize it to a byte[] and send that. See java.io.ObjectOutputStream.
However, unless this is a totally in-house service in which both server and client are under your control, you will probably eventually regret not using a more general format.
Bill