Module iopipe.stream

Simple streams for use with iopipe

Functions

NameDescription
openDev(args)Convenience function to open a file without using the new operator.

Classes

NameDescription
IODevThe basic device-based Input and Output stream. This uses the OS's native file handle to communicate using physical devices.

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.