| 197 | } |
| 198 | |
| 199 | Result<int64_t> GetSize() final { |
| 200 | auto guard = lock_.shared_guard(); |
| 201 | return derived()->DoGetSize(); |
| 202 | } |
| 203 | |
| 204 | // NOTE: ReadAt doesn't use stream pointer, but it is allowed to update it |
| 205 | // (it's the case on Windows when using ReadFileEx). |