Conversion uint32_t in little endian to char array (write in file)

/ Published in: C++
Save to your folder(s)

Do you know how to convert uint32_t in little endian to file like char array? I have a variable sumGlobalContentSum (in hex). Than i write in file dstFile. Value of sumGlobalContentSum is realy d1 when I write it out like cout

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.