How would one go about appending structs to a memory block.
I’m thinking memcpy would be involved.
Or would this work:
structObj myObj;
//do stuff
MemoryBlock M;
M.append(myObj, sizeof(myObj));
I basically don’t get how a struct relates to plain memory,arrays etc.