what is the relationship between decoding and encoding