Assorted encoders and decoders