void DataIO_loadObject(Input& input, Class& x) { #ifdef DATA_IO_ALLOW_DEFAULT_SERIALIZE input.ensureRead(&x, sizeof(Class)); #else x.MustDefineCustomLoad(input); #endif }