eat . Eats 'n' characters and updates our position.
| 285 | // eat |
| 286 | // . Eats 'n' characters and updates our position. |
| 287 | void Stream::eat(int n) { |
| 288 | for (int i = 0; i < n; i++) |
| 289 | get(); |
| 290 | } |
| 291 | |
| 292 | void Stream::AdvanceCurrent() { |
| 293 | if (!m_readahead.empty()) { |
no test coverage detected