A simple class that packs bits into a byte array. Ideally for compressing data to be sent over a network.