Quote Originally Posted by ChrisW67 View Post
Franco. Have a look at your ASCII dump of the block of data. You are interested in 15 chars starting at a certain offset. What order are the characters in?
Qt Code:
  1. char* name = new char[15];
  2. memcpy( name, &ba[14], sizeof(char)*15); //I copy 15 bytes of ba to name
  3. char* name_converted = new char[15];
  4. name_converted = qFromBigEndian(name);
To copy to clipboard, switch view to plain text mode 
What's in name after line 2? Why do you want to change the order of the bytes in this string?
Dear Chris,
my stream of bytes come from a fingerprint reader that order bytes using bigendian order.
So I read data and to process them I have to first convert to little endian to understand it.
Wysota told that character strings doen't matter so I have to change the order of the rest of my stream