Serial.ReadAll Method

Returns all incoming data available in the buffer. The optional Encoding parameter enables you to specify the text encoding of the data to be read.

Syntax

Serial.ReadAll [Encoding]


Parameters

Encoding (Optional)

TextEncoding


Use the Encodings object to specify a text encoding.