Create a Codec
that has a version-dependent decoder.
Create a Codec
that has a version-dependent decoder.
the current token version. This version number will be encoded and prepended to the serialized token.
a partial function matching on the supported token versions. If an
unsupported token version is encountered, it will trigger an appropriate
UnsupportedTokenVersion
decoding failure.