()
| 215 | } |
| 216 | |
| 217 | flush() { |
| 218 | if (this._sQlen > 0 && this.readyState === 'open') { |
| 219 | this._websocket.send(new Uint8Array(this._sQ.buffer, 0, this._sQlen)); |
| 220 | this._sQlen = 0; |
| 221 | } |
| 222 | } |
| 223 | |
| 224 | _sQensureSpace(bytes) { |
| 225 | if (this._sQbufferSize - this._sQlen < bytes) { |