SerialPort.Clear (gb.net)
Sub Clear ( [ Buffer As Integer ] )
Clear the input/output buffers.
-
Buffer tells which buffers must be cleared:
-
gb.Input for the input buffer.
-
gb.Output for the output buffer.
-
gb.Input + gb.Output for both.
By default, both buffers are cleared.