JuliaIO / TranscodingStreams.jl

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

Allow `unread` of `AbstractVector{UInt8}` #210

Closed nhz2 closed 6 months ago

nhz2 commented 6 months ago

Currently unread only works with Vector{UInt8}

https://github.com/JuliaIO/TranscodingStreams.jl/blob/8fdabeda88199cd4298d9cba597e006b1af7655a/src/stream.jl#L445

It should be changed to allow any AbstractVector{UInt8}

Ref: https://github.com/JuliaIO/TranscodingStreams.jl/pull/209#discussion_r1590356676