| 280 | bool BufferReader::closed() const { return !is_open_; } |
| 281 | |
| 282 | Result<int64_t> BufferReader::DoTell() const { |
| 283 | RETURN_NOT_OK(CheckClosed()); |
| 284 | return position_; |
| 285 | } |
| 286 | |
| 287 | Result<std::string_view> BufferReader::DoPeek(int64_t nbytes) { |
| 288 | RETURN_NOT_OK(CheckClosed()); |
nothing calls this directly
no test coverage detected