aboutsummaryrefslogtreecommitdiff
path: root/src/analyze.cpp
diff options
context:
space:
mode:
authorNathan Sharp <nwsharp@live.com>2018-07-23 23:24:53 -0700
committerNathan Sharp <nwsharp@live.com>2018-07-23 23:30:40 -0700
commit0046551852fe97dca2c295b84be3b0b4c3004e45 (patch)
tree9d5f5a6a6b63ced63408af8d953d17a0ddd1bc8c /src/analyze.cpp
parent10bdf73a02c90dc375985e49b08b5020cfc20b93 (diff)
downloadzig-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/analyze.cpp')
0 files changed, 0 insertions, 0 deletions