Skip to content
Snippets Groups Projects
Commit 2ef29ed1 authored by Shawn Pearce's avatar Shawn Pearce
Browse files

UnionInputStream: combines sequential InputStreams into one


The UnionInputStream utility class combines multiple sequential
InputStreams so they appear to the caller as a single stream with
no gaps.  This can be used to concentate streams coming from multiple
independent HTTP connections (for example).

The companion unit test covers the class's full functionality.

Change-Id: I0676c7b5e082a5886bf0e8f43f9fd6c46a666228
Signed-off-by: default avatarShawn O. Pearce <sop@google.com>
parent 0b821817
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment