| 202 | } |
| 203 | |
| 204 | Result<int64_t> Tell() const override { |
| 205 | if (closed()) return Status::Invalid("Cannot use Tell() on a closed stream"); |
| 206 | return tell_; |
| 207 | } |
| 208 | |
| 209 | // gcs::ObjectWriteStream can be "closed" without an explicit Close() call. At this time |
| 210 | // this class does not use any of the mechanisms [*] that trigger such behavior. |