I have a simple loop to print an array directly to file: for (uint32_t i = 0; i < 256; i++) { fprintf(m_file, "%c%c%c%c", i, i, i, 0); } I would like to convert this to print the array to a buffer, and then write to file in a single call size_t ind = 0; ..
Recent Comments