ToFile() saves the stream to a file.
Definition at line 514 of file CATStreamRAM.cpp. References CAT_ERR_FILE_ALREADY_EXISTS, CAT_ERR_FILE_NOT_OPEN, CAT_SUCCESS, CATASSERT, CATFAILED, CATRESULT, CATSUCCEEDED, CATStreamFile::Close(), fRamCache, fSize, CATStreamFile::Open(), CATStream::READ_ONLY, CATStream::READ_WRITE_CREATE_TRUNC, and CATStreamFile::Write().
|