EndOfBuffer

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:

Read the date command output:

Write an "echo" command in the shell:

Read the echo command output:

Write another command on the shell, then exit; ReadString waits until the process finishes by default:

Wolfram Research (2014), EndOfBuffer, Wolfram Language function, https://reference.wolfram.com/language/ref/EndOfBuffer.html.

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_2024_endofbuffer, author="Wolfram Research", title="{EndOfBuffer}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/EndOfBuffer.html}", note=[Accessed: 22-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_endofbuffer, organization={Wolfram Research}, title={EndOfBuffer}, year={2014}, url={https://reference.wolfram.com/language/ref/EndOfBuffer.html}, note=[Accessed: 22-December-2024 ]}