coding encode decode complete