RED HAT
RED HAT
DIIDevHeads IoT Integration Server
Created by electro_coco on 8/16/2024 in #code-review
How can I recover binary data from the INTDATA file using the provided C structure?
Use strtol in C to convert the hex-ASCII strings into binary. You can read each line of the file, convert the hex values, and store them in a buffer that represents your binary data block.
10 replies