/ Published in: C++
                    
                                        
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 
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
uint32_t sumGlobalContentSum = ;
sumGlobalContentSum = 4+2+4+audioDataContentSumNonUsed+4 //=d1 [uint32_t audioDataContentSumNonUsed]
dstFile << hex << sumGlobalContentSum;
Comments
 Subscribe to comments
                    Subscribe to comments
                
                