Thank you very much for your help.
Type: Posts; User: KianTern
Thank you very much for your help.
Thanks it works great.
But I can't understand how this line works.
mys.c = *(char*)pBuffer;
Can you please explain or point me where can I read about this?
I'm currently not worried about the...
Reading directly into the structure is OK for the header but it will cause problems for the record it self, as it contains some optional fields, so i will need to parse the buffer anyway.
The second...
I'm trying to parse a binary file.
The file consists of multiple header->record pairs.
The record length and type are stored in the header.
I want to be able to read the entire header into a...