Closed nhz2 closed 2 months ago
I forgot to add a call to ready_to_read! in #212. This PR fixes that and adds tests that unread will error on a stream in write mode. This PR also adds tests that position is correct after calling unread
ready_to_read!
unread
position
I forgot to add a call to
ready_to_read!
in #212. This PR fixes that and adds tests thatunread
will error on a stream in write mode. This PR also adds tests thatposition
is correct after callingunread