Seek to absolute position Returns false if position is out of bounds
| 125 | // Seek to absolute position |
| 126 | // Returns false if position is out of bounds |
| 127 | bool seek(size_t pos) { |
| 128 | if (pos > length_) { |
| 129 | return false; |
| 130 | } |
| 131 | pos_ = pos; |
| 132 | return true; |
| 133 | } |
| 134 | |
| 135 | // Rewind to beginning |
| 136 | void rewind() { |
nothing calls this directly
no outgoing calls
no test coverage detected