This class gives you a series of {@link C.Codec} codecs. This know how to
decode (from ElectionGuard types to plain JS objects, suitable for serialization)
and encode (from plain JS objects back to the ElectionGuard types). Note that
it's important to use the right codec for the right group. If you decode from
a 4096-bit group and encode to a 3072-bit group, the results are not going to
be correct.
This class gives you a series of {@link C.Codec} codecs. This know how to decode (from ElectionGuard types to plain JS objects, suitable for serialization) and encode (from plain JS objects back to the ElectionGuard types). Note that it's important to use the right codec for the right group. If you decode from a 4096-bit group and encode to a 3072-bit group, the results are not going to be correct.