Serial.LookAhead Method

Returns a String. Returns all the unread characters in the buffer without deleting them from the buffer.The optional Encoding parameter enables you to specify the text encoding of the data to be returned.

Syntax

Serial.LookAhead [Encoding]


Parameters

Encoding (Optional)

TextEncoding


Use the Encodings object to specify a text encoding.