by shortrounddev2 · 1y ago · 0 comments
struct Header
{
char waterMark[3];
uint16_t width;
uint16_t height;
uint8_t reserved[16];
}
So that you can future proof v1 binaries to still be compatible with v2 by adding empty padding on "reserved" which lets you add fields in the future. I do this sometimes and always wonder if there are other philosophies on itNo comments yet.