Encoder theory and techniques – what encoding is and isn't