Codec<T, S> inverted

Inverts this.

The encoder and decoder of the resulting codec are swapped.