| 120 | } |
| 121 | |
| 122 | uint64_t FileData::Pos() const |
| 123 | { |
| 124 | int64_t const pos = ftell64(m_File); |
| 125 | if (pos == INVALID_POS) |
| 126 | MYTHROW(Writer::PosException, (GetErrorProlog(), pos)); |
| 127 | |
| 128 | ASSERT_GREATER_OR_EQUAL(pos, 0, ()); |
| 129 | return static_cast<uint64_t>(pos); |
| 130 | } |
| 131 | |
| 132 | void FileData::Seek(uint64_t pos) |
| 133 | { |