Hi All
I have a compiled file of some of the RTUs in the filed, i need to copy that file into a buffer and then used that buffer to move the file into the RTU. The file is about 50Kbyte (i Don't know the structure/formatting of the file). All i need is to copy that file into a buffer of type byte. What would be a fastest method of doing it? Do i have to use fgets function, but i guess it only brings the one line of file. The whole idea here is to think of that file as a chunk of bytes and then copy those bytes into a buffer?
My skills for C are not that sharp, please help me out in order to accomplish this, i would really appreciate your time in this regards
Thanks in Advance!