memcpy std::string content; size_t fileSize = static_cast<size_t>(file.tellg()); file.seekg(0, std::io