Joe Groff
13b17fb84a
io: input-stream and output-stream mixins
2011-10-18 16:25:09 -07:00
Joe Groff
e426512534
more stream-seekable? and stream-length methods
...
- limited-streams and throw-on-eof-streams
- string-readers and byte-readers
2011-10-17 21:23:09 -07:00
Joe Groff
6f12322bda
kill noncopying-reader mixin, stream-read generic
...
Now that all streams have been updated to implement the stream-read-unsafe protocol, take out the noncopying-reader shim. Turn stream-read and stream-read-partial into plain functions over the -unsafe generics.
2011-10-17 21:23:05 -07:00
Joe Groff
055196d4b7
io.streams.(limited,throwing): read-unsafe methods
2011-10-17 21:23:00 -07:00
Slava Pestov
fbbaef70c4
Remove stream-peek and stream-peek1, re-implement dns vocab to not need this abstraction
2010-10-08 18:55:13 -07:00
Doug Coleman
d462355035
Implement and document stream-peek
2010-10-08 06:34:19 -07:00
Doug Coleman
e48c28359e
Fix io.streams.throwing word and write docs for it. Fix typo in io.streams.limited docs
2010-09-27 20:20:48 -05:00
Joe Groff
b04bc8640f
io.streams.throwing: add test file
2010-07-09 23:36:40 -07:00
Joe Groff
b1c557a825
io.streams.throwing: rename throws-on-eof -> stream-throw-on-eof and input-throws-on-eof -> throw-on-eof and change stream-throw-on-eof to leave the rigged stream on the stack, to better follow convention of other io words
2010-07-09 18:10:51 -07:00
Joe Groff
90b962bbd3
io.streams.throwing: implement read-until
2010-07-09 14:26:01 -07:00
Joe Groff
99db070c9e
io.streams.throwing: implement tell and seek
2010-07-09 14:08:54 -07:00
Doug Coleman
2ca509a8fe
Split off io.streams.throwing from io.streams.limited and update usages of limited streams
2010-07-09 13:32:09 -05:00