What do Encode and Decode do?

Pretty Self explantory but what do they do?

decode make code for Encode.Encode takes the code and transform it in to something .i guess