Convert Array of Char into byte

Good Morning,
when I receive sms message I've declared an array of char in this way:

char smsbuffer[160];

The message of course go into "smsbuffer" . Now into the buffer I've 32 that is an array of char correct me if i wrong. in the way below reported:

3 2 \0
[ 0 ][ 1 ][ 2 ]

But I'd like to use 32 like a byte , how I can convert this value ?

thanks
gnux

Are you saying that the 3 and the 2 are ASCII representations of the decimal digits, i.e. '3' and '2' ?
Have you tried "atoi" and a cast?

have you reason it’s working now :slight_smile:
thanks
Gnux