WindowsStdinReader

A file reader implementation using the Win32 API using events. Reads as much content as possible when new data is available at once, making the file reading operation much more efficient when large chunks of data are being transmitted.

Constructors

this
this()
Undocumented in source.

Members

Functions

isReading
bool isReading()
Undocumented in source. Be warned that the author may not have intended to support it.
run
void run()
Undocumented in source. Be warned that the author may not have intended to support it.
stop
void stop()
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From FileReader

yieldLine
string yieldLine(bool* whileThisIs, bool equalToThis)
Undocumented in source. Be warned that the author may not have intended to support it.
yieldData
ubyte[] yieldData(size_t length, bool* whileThisIs, bool equalToThis)

Yields until the specified length of data is available, then removes the data from the incoming data stream atomically and returns a duplicate of it. Returns null if the file reader stops while reading.

stop
void stop()
Undocumented in source.
isReading
bool isReading()
Undocumented in source.
run
void run()
Undocumented in source.
data
ubyte[] data;
Undocumented in source.
mutex
Mutex mutex;
Undocumented in source.

Meta