TranscodingStreams.jl
TranscodingStreams.jl copied to clipboard
Simple, consistent interfaces for any codec.
While Memory was in theory a slightly safer wrapper for `unsafe_read` / `unsafe_write` operations, it doesn't appear to have every needed to be used that way, and ways just took...
As mentioned in: https://github.com/JuliaIO/TranscodingStreams.jl/pull/164 There are two implementations of `copydata!` used in [`Base.unsafe_read`](https://github.com/JuliaIO/TranscodingStreams.jl/blob/28d6845afff35b77819edf2046eb7330fe675f92/src/noop.jl#L92) and [`Base.readuntil`](https://github.com/JuliaIO/TranscodingStreams.jl/blob/28d6845afff35b77819edf2046eb7330fe675f92/src/stream.jl#L344). There may be a lurking bug with unclear ownership as well (regarding `GC.@preserve`). This scenario...
There are no doctests for this package. Maybe there should be.
by "in-place" I mean the user would pre-allocate a `Vector{UInt8}` or something as the sink sometimes decompression is needed for low-level stuff, such as handling "buffers" in a file spec,...
This PR adds the ability to extend the Transcoding protocol in a non-breaking way. This is desirable to support non-streaming codecs better. Ref: https://github.com/JuliaIO/CodecZstd.jl/pull/46 To do this I added two...
Just checking whether there's any interest here to support [libaec](https://github.com/MathisRosenhauer/libaec) as a codec. It's made primarily for 16/32bit unsigned integers with low entropy and in that sense somewhat specific (but...
It would be good to know what compressors can be safely reused after calling `finalize`. This is tested for `CodecZstd` in https://github.com/JuliaIO/CodecZstd.jl/pull/74 These tests should be added to `TestsForCodecPackages.jl` Ref:...
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6. Release notes Sourced from actions/checkout's releases. v6.0.0 What's Changed Update README to include Node.js 24 support details and requirements by @salmanmkc in actions/checkout#2248 Persist...
This is a way to allow `TranscodingStreams.Codec` objects to be used with the `decode`, `decode!`, `try_decode!`, and `try_resize_decode!` functions from `ChunkCodecCore` https://github.com/JuliaIO/ChunkCodecs.jl. Fixes #247 #132 #105 CC: @Moelf @eschnett @mkitti
I want to compress data that is not of the type `Vector{UInt8}`, but instead has the more complicated type `Base.ReinterpretArray{UInt8, 1, Float64, Vector{Float64}, false}`. This is still a 1-d array...