diff options
| author | Nathan Sharp <nwsharp@live.com> | 2018-07-23 23:24:53 -0700 |
|---|---|---|
| committer | Nathan Sharp <nwsharp@live.com> | 2018-07-23 23:30:40 -0700 |
| commit | 0046551852fe97dca2c295b84be3b0b4c3004e45 (patch) | |
| tree | 9d5f5a6a6b63ced63408af8d953d17a0ddd1bc8c /src | |
| parent | 10bdf73a02c90dc375985e49b08b5020cfc20b93 (diff) | |
| download | zig-0046551852fe97dca2c295b84be3b0b4c3004e45.tar.gz zig-0046551852fe97dca2c295b84be3b0b4c3004e45.zip | |
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.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions
