I'm writing some code to serialize some data and write the serialize data to a file on disk. Currently data is in void* buffer and then trying to serialize using tpl with TPL_MEM so that later it can be write to file. But I am not very sure that how to get this serialize data to file.Is TPL the best and optimum way to do this ? troydhanson.github.io/tpl/index.html
Ahsaas
0
Newbie Poster
Recommended Answers
Jump to PostIs there a reason you want to use that library instead of just standard C FILE* functions? If all you want to do is write it to a file then just standard C library fwrite(), then fread() to read it back. You won't get more efficient then that. But if …
All 3 Replies
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
Ahsaas
0
Newbie Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.