after a raw write user can set NEW_YS size if you know the size before the write use assign()
| 106 | // after a raw write user can set NEW_YS size |
| 107 | // if you know the size before the write use assign() |
| 108 | void input_buffer::add_size(uint i) |
| 109 | { |
| 110 | if (error_ == 0 && check(size_ + i-1, get_capacity()) == 0) |
| 111 | size_ += i; |
| 112 | else |
| 113 | error_ = -1; |
| 114 | } |
| 115 | |
| 116 | |
| 117 | uint input_buffer::get_capacity() const |
no outgoing calls
no test coverage detected