TranscodingStreams.jl icon indicating copy to clipboard operation
TranscodingStreams.jl copied to clipboard

Simple, consistent interfaces for any codec.

Results 41 TranscodingStreams.jl issues
Sort by recently updated
recently updated
newest added

It would be nice if there was a constructor `TranscodingStream{C,S}(predicate ...)` which allows for the `do`-syntax, like such: ``` matrix = GzipDecompressorStream(open(path)) # stuff return matrix end ``` We have...

There's no actual dependency of TranscodingStreams on Test or Random: it's only the `testtools.jl` file which uses them, which is not necessary for normal functioning, just for testing. It would...

I noticed that the documentation says, that the signature of `transcode` is ```julia transcode(codec::Codec, data::Vector{UInt8})::Vector{UInt8} ``` but then for the code we have the signature ```julia transcode(codec::Codec, data::ByteData) ``` Should...

I think, each `TranscodingStream` should implement `isreadable(io::TranscodingStream) = isreadable(io.stream)` `iswritable(io::TranscodingStream) = iswritable(io.stream)`

I would like to get the length of the compressed stream up to now but without closing the stream or affecting continued compression. I understand most Codecs might not support...

As of [April](https://github.com/JuliaIO/FileIO.jl/pull/78) `FileIO.jl` has a `loadstreaming`/`savestreaming` API for opening files in streaming mode and automatically selecting the decoder/encoder based on the file extension and/or magic bytes. If this were...

I am using a transcoding stream to write compressed data to a `IOBuffer`, which I then want to call `take!` on to get an array. I need to close the...

Any idea why I run into this error occasionally? ``` "stacktrace":"zlib error: (code: -5) Stacktrace: [1] changemode!(::TranscodingStreams.TranscodingStream{CodecZlib.GzipDecompressor,Base.DevNull}, ::Symbol) at /home/domorun/.julia/packages/TranscodingStreams/uBFIU/src/stream.jl:710 [2] callprocess(::TranscodingStreams.TranscodingStream{CodecZlib.GzipDecompressor,Base.DevNull}, ::TranscodingStreams.Buffer, ::TranscodingStreams.Buffer) at /home/domorun/.julia/packages/TranscodingStreams/uBFIU/src/stream.jl:641 [3] flushuntilend(::TranscodingStreams.TranscodingStream{CodecZlib.GzipDecompressor,Base.DevNull}) at /home/domorun/.julia/packages/TranscodingStreams/uBFIU/src/stream.jl:611...