Pipe

Pipes to use to communicate with a process.

Can be used to directly communicate via stdin/stdout if so is desired.

Constructors

this
this(File input, File output)
Undocumented in source.

Members

Functions

closeWrite
void closeWrite()
Undocumented in source. Be warned that the author may not have intended to support it.
destroy
void destroy()
Undocumented in source. Be warned that the author may not have intended to support it.
flush
void flush()

Flush the output.

hasData
bool hasData()
Undocumented in source. Be warned that the author may not have intended to support it.
hasPendingData
bool hasPendingData()

If there is data to read.

read
const(ubyte)[] read(size_t s)

Read at most s bytes from the channel.

write
void write(const(ubyte)[] data)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

input
ReadChannel input;
Undocumented in source.
output
WriteChannel output;
Undocumented in source.

Inherited Members

From Channel

destroy
void destroy()

Destroy the channel.

Meta