To or from differential codes