Clear output buffer, aborting the current output and discarding all that is in the buffer.
(self)
| 179 | self._instream.skip(self._instream.available()) |
| 180 | |
| 181 | def flushOutput(self): |
| 182 | """Clear output buffer, aborting the current output and |
| 183 | discarding all that is in the buffer.""" |
| 184 | if not self.sPort: raise portNotOpenError |
| 185 | self._outstream.flush() |
| 186 | |
| 187 | def sendBreak(self, duration=0.25): |
| 188 | """Send break condition. Timed, returns to idle state after given duration.""" |