Commit Graph

4 Commits (e72ad0c4f7cad8f56bb3987a72b43fd81c61358b)

Author SHA1 Message Date
Joe Groff 4d224b552f io: stream-read-into and stream-read-partial-into
Safe user-facing wrappers for stream-read-unsafe.
2011-10-17 21:23:08 -07:00
Joe Groff 8322ff9452 io.streams.peek: test with memory-stream
Some binary stream types use memcpy to implement read-unsafe, while element-agnostic wrapper streams have to use copy. Make sure peek-stream works with both when it has to divide a read between the peek buffer and the underlying buffer (it does).
2011-10-17 21:23:06 -07:00
Doug Coleman eead1f0487 Fix the using for peek streams tests. 2011-09-25 22:54:53 -07:00
Doug Coleman c5f1651567 Peekable streams wrapper 2011-09-25 19:32:34 -07:00