encode decode 区别