Module iopipe.stream

Simple streams for use with iopipe

Functions

NameDescription
openDev(fd) Construct an input stream based on the file descriptor
openDev(name, mode) Open a file by name.

Structs

NameDescription
NullDev A source that reads uninitialized data.
ZeroDev A source stream that always reads zeros, no matter what the data type is.

Global variables

NameTypeDescription
nullDev immutable(NullDev) Common instance of NullDev to use anywhere needed.
zeroDev immutable(ZeroDev) Common instance of ZeroDev to use anywhere needed.

Aliases

NameTypeDescription
IODev IOObject!File