Function to obtain a concatenating input stream that reads from stream1, and then stream2.
The first stream to read from.
The second stream to read from.
The concatenating input stream.
See Implementation
Function to obtain a concatenating input stream that reads from stream1, and then stream2.