When I try to read the default kml file of a kmz, I get an empty string.
KmzFile* kmzFile = KmzFile::OpenFromString(someString); // someString has been checked and is a kmz
std::string kmlString;
bool success = kmzFile->ReadKml(&kmlString); // after this line executes, kmlString is an empty string ("") and success is false.
I have checked to make sure the file is actually a kmz file and that there is a kml file inside the kmz.
Why am I getting an empty string?