| 169 | } |
| 170 | |
| 171 | Status Skip(uint64_t n) override { |
| 172 | LARGE_INTEGER distance; |
| 173 | distance.QuadPart = n; |
| 174 | if (!::SetFilePointerEx(handle_.get(), distance, nullptr, FILE_CURRENT)) { |
| 175 | return WindowsError(filename_, ::GetLastError()); |
| 176 | } |
| 177 | return Status::OK(); |
| 178 | } |
| 179 | |
| 180 | std::string GetName() const override { return filename_; } |
| 181 |
nothing calls this directly
no test coverage detected