How can I perform endian conversion on vector of structs?
For example:
struct TestStruct
{
int nSomeNumber;
char sSomeString[512];
};
std::vector<TestStruct> vTestVector;
I know how to swap int values, but how to swap a whole vector of custom structs?