Gems/EMotionFX/Code/EMotionFX/Exporters/ExporterLib/Exporter/ExporterFileProcessor.cpp
void Exporter::ResetMemoryFile(MCore::MemoryFile* file)
    {
        // make sure the file is valid
        MCORE_ASSERT(file);

        // reset the incoming memory file
        file->Close();
        file->Open();
        file->SetPreAllocSize(262144); // 256kB
        file->Seek(0);
    }
// make the memory file ready for saving
make the memory file ready for saving
make the memory file ready for saving
void Exporter::ResetMemoryFile(MCore::MemoryFile* file)
    {
        MCORE_ASSERT(file);
        file->Close();
        file->Open();
        file->SetPreAllocSize(262144); 
        file->Seek(0);
    }
void Exporter :: ResetMemoryFile ( MCore :: MemoryFile * file ) { MCORE_ASSERT ( file ) ; file -> Close ( ) ; file -> Open ( ) ; file -> SetPreAllocSize ( 262144 ) ; file -> Seek ( 0 ) ; }
make the memory file ready for saving
make the memory file ready for saving
// make sure the file is valid // reset the incoming memory file // 256kB