| 137 | /// than file_offset() due to data being assembled in the boundary buffer). |
| 138 | typedef boost::function<int (int64_t)> ReadPastSizeCallback; |
| 139 | void set_read_past_size_cb(ReadPastSizeCallback cb) { read_past_size_cb_ = move(cb); } |
| 140 | |
| 141 | /// Return the number of bytes left in the range for this stream. |
| 142 | int64_t bytes_left() { return scan_range_->bytes_to_read() - total_bytes_returned_; } |