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
NullDevA source that reads uninitialized data.
ZeroDevA source stream that always reads zeros, no matter what the data type is.

Global variables

NameTypeDescription
nullDevimmutable(NullDev)Common instance of NullDev to use anywhere needed.
zeroDevimmutable(ZeroDev)Common instance of ZeroDev to use anywhere needed.

Aliases

NameTypeDescription
IODevstd.io.IOObject!(std.io.file.File)