Codec<T, S> inverted

Inverts this.

The encoder and decoder of the resulting codec are swapped.

Source

Codec<T, S> get inverted => new _InvertedCodec<T, S>(this);