JuliaIO / TranscodingStreams.jl

Simple, consistent interfaces for any codec.
https://juliaio.github.io/TranscodingStreams.jl/
Other
85 stars 28 forks source link

Add missing `ready_to_read!` to `unread` #228

Closed nhz2 closed 2 months ago

nhz2 commented 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