Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Serial
ClearReceivedBytes
Serial.ClearReceivedBytes C# (CSharp) Method
Serial Class Documentation
Show file
Open project: prossel/UnitySerialPort
ClearReceivedBytes()
public
method
Clears the received bytes. Warning: This prevents line detection and notification. To be used when no \n is expected to avoid keeping unnecessary big amount of data in memory You should normally not call this function if \n are expected.
public
ClearReceivedBytes
( ) :
void
return
void
public void ClearReceivedBytes() { BufferIn = ""; }
Serial
ClearReceivedBytes
GetLastLine
GetLines
GetPortName
OnApplicationQuit
OnDisable
OnEnable
OnGUI
OnValidate
ReadSerialLoop
ReadSerialLoopWin
SimulateDataReceptionLn
Start
Update
Write
WriteLn
checkOpen
receivedData