resetReceivedBuffer

abstract fun resetReceivedBuffer()(source)

Drains any bytes currently buffered in receivedData without emitting them to collectors.

Callers invoke this before attaching a fresh collector after a stop/start cycle so stale bytes buffered while no collector was attached do not get replayed ahead of the next session's handshake.