streams.types

Container module with sub-modules that define stream implementations for various use cases.

Modules

array
module streams.types.array

A collection of array-backed streams for in-memory reading and writing.

buffered
module streams.types.buffered

Defines buffered input and output streams that wrap around any other stream, to allow it to buffer contents and flush only when full (or when a manual flush() is called).

chunked
module streams.types.chunked
Undocumented in source.
concat
module streams.types.concat

Concatenating streams that linearly combine reading and writing from multiple resources.

data
module streams.types.data

Defines streams for reading and writing primitive data and arrays of primitive values. So-called "data" input and output streams are defined as decorators around an existing "base" stream, so when you read or write on a data stream, it's just performing an analogous operation on its base stream.

file
module streams.types.file

Defines input and output streams for reading and writing files using C's stdio functions like fopen, fread, and fwrite as a basis.

mapping
module streams.types.mapping

This module defines "mapping" input and output streams, which map elements of a wrapped stream to another type. For example, a mapping input stream could wrap around an input stream of strings, and parse each one as an int.

socket
module streams.types.socket

Defines input and output streams for reading from and writing to sockets, using the Socket class from std.socket as the underlying resource.

Public Imports

streams.types.array
public import streams.types.array;
Undocumented in source.
streams.types.buffered
public import streams.types.buffered;
Undocumented in source.
streams.types.chunked
public import streams.types.chunked;
Undocumented in source.
streams.types.concat
public import streams.types.concat;
Undocumented in source.
streams.types.data
public import streams.types.data;
Undocumented in source.
streams.types.file
public import streams.types.file;
Undocumented in source.
streams.types.socket
public import streams.types.socket;
Undocumented in source.

Meta