Convert hex file to c9/4/2023 ![]() So anybody know any software can convert hex file to c language.i dont have much time to write back the coding.Hope u all can help me to complete my project. This way, you'll only hold a fraction of the file at each time: using (System.IO.StreamWriter writer = new System.IO. Act i wrote coding for my project in c language.but the original c coding for my project i was lost cz my PC having problem.Now i got my project code in hex file. Check the number of data bytes in this line and reads these data. To avoid holding all in memory, you should stream the data, converting and writing each chunk. This code is simple just open the hex file: Reads every line byte by byte. ![]() Your problem is that you load the whole file into memory, convert each byte to three characters (that's the file size times 6), going through Replace and ToCharArray.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |