std.io: PeekStream and SliceStream

SliceStream is a read-only stream wrapper around a slice of bytes. It
allows adapting algorithms which work on InStreams to in-memory data.

PeekStream is a stream wrapper which allows "putting back" bytes into
the stream so that they can be read again. This will help make
look-ahead parsers easier to write.
0046551852Nathan Sharp committed on 7/24/2018, 6:30:40 AMparent10bdf73
2 files changedLine totals unavailable