is a symbol that represents the end of currently available data in the buffer for a process or stream.
EndOfBuffer
is a symbol that represents the end of currently available data in the buffer for a process or stream.
Examples
Basic Examples (2)
Start the system shell process:
Write some commands into the shell:
Read the partial output from the process even before it is finished. ReadString waits until the system shell finishes unless EndOfBuffer is used:
Start the system shell process:
Read all initial output; depending on the operating system and shell, this can result in an empty string:
Write the "date" command in the shell:
Write an "echo" command in the shell:
Write another command on the shell, then exit; ReadString waits until the process finishes by default:
See Also
Related Guides
History
Text
Wolfram Research (2014), EndOfBuffer, Wolfram Language function, https://reference.wolfram.com/language/ref/EndOfBuffer.html.
CMS
Wolfram Language. 2014. "EndOfBuffer." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/EndOfBuffer.html.
APA
Wolfram Language. (2014). EndOfBuffer. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/EndOfBuffer.html
BibTeX
@misc{reference.wolfram_2025_endofbuffer, author="Wolfram Research", title="{EndOfBuffer}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/EndOfBuffer.html}", note=[Accessed: 16-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_endofbuffer, organization={Wolfram Research}, title={EndOfBuffer}, year={2014}, url={https://reference.wolfram.com/language/ref/EndOfBuffer.html}, note=[Accessed: 16-August-2025]}