3 ms·
Do you have a link to how one would archiece this data pointer magic? I wouldnt know what to search for.
by danlugo92 6y ago
Do you have a link to how one would archiece this data pointer magic? I wouldnt know what to search for.
- wmil 6y agoIn the simplest case, in C you can read file data into memory, cast it as a struct, then just use that struct without ever doing any parsing. As things get more complex you're probably going to need to manually set some pointers after loading blobs of data and casting them. It's just the standard way of dealing with binary files in C. I'm not sure what you'd need for search terms.
- danlugo92 6y agoOh I understand now, thank you.
- imtringued 6y agoJust use flatbuffers/capnproto.
- danlugo92 6y agoThank you.