vibe.d beta banner
get vibe.d
0.8.4

Asynchronous I/O that doesn’t get in your way, written in D

Module vibe.core.stream

Generic stream interface used by several stream-like classes.

This module defines the basic stream primitives. For concrete stream types, take a look at the vibe.stream package. The vibe.stream.operations module contains additional high-level operations on streams, such as reading streams by line or as a whole.

Functions

NameDescription
nullSink() Returns a NullOutputStream instance.
pipe(source, sink, nbytes) Pipes an InputStream directly into this OutputStream.

Interfaces

NameDescription
ConnectionStream Interface for streams based on a connection.
InputStream Interface for all classes implementing readable streams.
OutputStream Interface for all classes implementing writeable streams.
RandomAccessStream Interface for all streams supporting random access.
Stream Interface for all classes implementing readable and writable streams.

Classes

NameDescription
NullOutputStream Stream implementation acting as a sink with no function.

Enums

NameDescription
IOMode Controls the waiting behavior of read/write operations.

Templates

NameDescription
validateConnectionStream
validateInputStream
validateOutputStream
validateRandomAccessStream
validateStream

Manifest constants

NameTypeDescription
isConnectionStream
isInputStream
isOutputStream
isRandomAccessStream
isStream

Aliases

NameTypeDescription
ConnectionStreamProxy ConnectionStream
InputStreamProxy InputStream
OutputStreamProxy OutputStream
RandomAccessStreamProxy RandomAccessStream
StreamProxy Stream
Authors

Sönke Ludwig

Copyright

© 2012-2015 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.