inverted property

Codec<T, S> inverted

Inverts this.

The encoder and decoder of the resulting codec are swapped.

Implementation

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