| 96 | } |
| 97 | |
| 98 | bool AtEOF() |
| 99 | // Returns true if there is no more data in the read buffer |
| 100 | // *and* the file pointer is at the end of the file. |
| 101 | { |
| 102 | if (mPos && mPos < mBuffer + mLength) |
| 103 | return false; |
| 104 | __int64 pos = _Tell(); |
| 105 | return (pos < 0 || pos >= _Length()); |
| 106 | } |
| 107 | |
| 108 | void SetCodePage(UINT aCodePage) |
| 109 | { |