[][src]Module tectonic_io_base::stdstreams

Tectonic I/O trait implementations for the standard I/O streams.

Structs

BufferedPrimaryIo

BufferedPrimaryIo provides a mechanism for the TeX "primary input" to come from stdin. Because Tectonic makes multiple passes through the input by default, we have to buffer it in memory so that the input can be read multiple times. It wouldn't be hard to make an alternative implementation that skips the buffering and errors out if one tries to open the stream more than once.

GenuineStdoutIo

GenuineStdoutIo provides a mechanism for the "stdout" output to actually go to the process's stdout.