What is the recommended way to decorate an IO stream with a filter in Julia

I think a custom codec with https://github.com/bicycle1885/TranscodingStreams.jl should work for you.

1 Like