clear

fun clear()(source)

Clears all buffered data, discarding any partially received messages.