std:std.process.ProcessStream.Read
Reads data from process stdout.
Reads at most count bytes from the process.
Returns 0 if the process has ended.
Can return less than count, in which case you may have to read again if you know there's more data coming.
| Parameters | |
|---|---|
buf |
buf The memory buffer to read data into. |
count |
count The number of bytes to read from the process. |