| 76 | } |
| 77 | |
| 78 | bool FileStream::Eof() |
| 79 | { |
| 80 | if (mCacheBuffer != NULL) |
| 81 | { |
| 82 | fseek(mFP, 0, SEEK_END); |
| 83 | return mVFilePos >= ftell(mFP); |
| 84 | } |
| 85 | |
| 86 | int aPos = (int)ftell(mFP); |
| 87 | fseek(mFP, 0, SEEK_END); |
| 88 | int aSize = (int)ftell(mFP); |
| 89 | fseek(mFP, aPos, SEEK_SET); |
| 90 | return aPos == aSize; |
| 91 | } |
| 92 | |
| 93 | int FileStream::GetSize() |
| 94 | { |
nothing calls this directly
no test coverage detected