Easily encode or decode any data