Encode:
Decode: