jeudi 31 janvier 2019

function to convert unsigned char * to char and char * to unsigned char *

I want a function to convert unsigned char * to char * and vice versa . Looking for two functions 1. That takes unsigned char * as parameter and returns char *. 2. That takes char * as parameter and returns unsigned char *.

The conversion should not lose any information during conversion.

Aucun commentaire:

Enregistrer un commentaire