MappingInputStream

An input stream that wraps another stream, and applies a function to each element read from that stream.

struct MappingInputStream (
S
) if (
isSomeInputStream!S &&
isMappingFunction!(typeof(f), StreamType!S)
) {}

Constructors

this
this(S stream)
Undocumented in source.

Members

Aliases

Ein
alias Ein = StreamType!S
Undocumented in source.
Eout
alias Eout = MappingFunctionReturnType!(typeof(f))
Undocumented in source.

Functions

readFromStream
StreamResult readFromStream(Eout[] buffer)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta