Implement Codec-transform