ConcatInputStream

A concatenating input stream that reads from one stream until it returns zero elements, then reads from the second stream.

struct ConcatInputStream (
E
S1
S2
) if (
isInputStream!(S1, E) &&
isInputStream!(S2, E)
) {}

Constructors

this
this(S1 stream1, S2 stream2)

Constructs a new concatenating stream from two input streams.

Members

Functions

readFromStream
StreamResult readFromStream(E[] buffer)

Reads from the streams that this one is concatenating, reading from the first stream until it's empty, and then reading from the second stream.

Meta