Create binary serializer for encapsulation of dynamic_bitset.