(msg, num, goback)
| 165 | // to be available in the receive queue. Return true if we need to |
| 166 | // wait (and possibly print a debug message), otherwise false. |
| 167 | rQwait(msg, num, goback) { |
| 168 | if (this._rQlen - this._rQi < num) { |
| 169 | if (goback) { |
| 170 | if (this._rQi < goback) { |
| 171 | throw new Error("rQwait cannot backup " + goback + " bytes"); |
| 172 | } |
| 173 | this._rQi -= goback; |
| 174 | } |
| 175 | return true; // true means need more data |
| 176 | } |
| 177 | return false; |
| 178 | } |
| 179 | |
| 180 | // Send queue |
| 181 |
no outgoing calls
no test coverage detected