EndOfBuffer
EndOfBuffer is a symbol that represents the end of currently available data in the buffer for a process or stream.
Examples
Read until end of buffer:
ReadString[process, EndOfBuffer]Check for end of buffer:
If[Read[stream] === EndOfBuffer, "waiting for more data"]Please visit the official Wolfram Language Reference for more details.