 |
Convert array of char[] to byte[] and vice versa? C++ - Stack Overflow
What is the best way to convert an array of chars to bytes and vice versa? Solution: void CharToByte(char* chars, byte* bytes, unsigned int count){ for(unsigned int i = 0; i < count; i++) ... ... In almost every C++ implementation you'll come across, a ch
stackoverflow.com |
 |