Home > Language Reference > Classes > StreamSerial
Flush Method
Flushes a buffer.
Syntax
Public Sub Flush(ByVal eDirection As HbStream)
| Parameter | Description |
| eDirection | Specifies the buffer to flush. |
Remarks
A call to this function forces the sending or the reception of all the data on standby in the internal buffers. The parameter eDirection can take one of the two following values, and specifies which buffer to flush:
| Constant | Description |
| hbStreamRead | The input buffer is flushed. |
| hbStreamWrite | The output buffer is flushed. |
System requirements
| System | Minimal version | Remarks |
| Palm OS | Palm OS 3.3 | N/A |