An universal data encoder/decoder