C-implemented converter from binary to 'binary'