| 275 | } |
| 276 | |
| 277 | Result<int64_t> Tell() const { |
| 278 | if (raw_pos_ == -1) { |
| 279 | ARROW_ASSIGN_OR_RAISE(raw_pos_, raw_->Tell()); |
| 280 | DCHECK_GE(raw_pos_, 0); |
| 281 | } |
| 282 | // Shift by bytes_buffered to return semantic stream position |
| 283 | return raw_pos_ - bytes_buffered_; |
| 284 | } |
| 285 | |
| 286 | // Resize internal read buffer. Note that the internal buffer-size |
| 287 | // should not be larger than the raw_read_bound_. |
nothing calls this directly
no test coverage detected