iopipe.stream

Simple streams for use with iopipe

Members

Aliases

IODev
deprecated alias IODev = IOObject!(File)

Functions

openDev
deprecated auto openDev(int fd)

Construct an input stream based on the file descriptor

openDev
deprecated auto openDev(char[] name, Mode mode)

Open a file by name.

Structs

NullDev
struct NullDev

A source that reads uninitialized data.

ZeroDev
struct ZeroDev

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

Variables

nullDev
NullDev nullDev;

Common instance of NullDev to use anywhere needed.

zeroDev
ZeroDev zeroDev;

Common instance of ZeroDev to use anywhere needed.

Meta

License

Boost License 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

Authors

Steven Schveighoffer