Convert Unsigned Char Array into Uint8_T Array?
I Need Convert Unsigned Char Array into Unit8_T Array Maybe Someone Has an Idea How to Do It? I Tried to Look for Information on the Internet, but...
I need convert unsigned char array into unit8_t array maybe someone has an idea how to do it?
I tried to look for information on the Internet, but unfortunately I did not succeed.
:)
2 Answers
So, have you tried uint8_t* myuint8array = (uint8_t*)myuchararray; ?
You have
unsigned char arr[size];
and you want
uint8_t arr[size];
uint8_t is simply defined as
typedef unsigned char uint8_t;
:-)