Nathan Zimmerberg
Nathan Zimmerberg
The stream is expected to still be writable after writing `TOKEN_END`. For example, https://github.com/BioJulia/FASTX.jl/blob/v2.1.4/src/fastq/writer.jl#L53 uses `TOKEN_END` in a `flush` function. With #178 you can do: ```julia using CodecZlib using TranscodingStreams...
What would this function do? Would it do something like https://juliaio.github.io/TranscodingStreams.jl/stable/examples/#Transcode-lots-of-strings Or did you have something else in mind?
I think the issue is from https://github.com/JuliaWeb/HTTP.jl/blob/efd74ea39a035bd849d1d225ed54ad00fae2a0d8/src/Messages.jl#L533 which calls: https://github.com/JuliaWeb/HTTP.jl/blob/efd74ea39a035bd849d1d225ed54ad00fae2a0d8/src/IOExtras.jl#L115-L124 Since https://github.com/JuliaLang/julia/pull/53896 calling `String` on a `view` of a `Memory` and then trying to use the `Memory` is unsafe. Here...
To save larger files, ZIP64 needs to be used, see https://en.wikipedia.org/wiki/ZIP_(file_format)#ZIP64 Just replacing the UInt32 with UInt64 won't work. #88 Added support for reading ZIP64, but not writing yet. So...
Unfortunately, the [official zip file spec](https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT) doesn't directly mention a cross-platform way to specify a file is executable, so this might be tricky to do. Zip files contain a 32-bit...
Fixed by #54927
I tested this locally and the `Mmap` tests pass if I move the `GC.gc()` on line 103 out of the `if` block to right before the `write`. https://github.com/JuliaLang/julia/blob/39a8092b06d1f29ca431171e0ab526e6eb0c3478/stdlib/Mmap/test/runtests.jl#L103-L106 I also...
Adding a `GC.gc()` on line 105 should fix it.
The underlying blosc c library can be used in a thread safe way using the blosc_compress_ctx and blosc_decompress_ctx functions. That's what I am using in my experimental zarr implementation. https://github.com/medyan-dev/SmallZarrGroups.jl/blob/b68316868caa543c3170d64d9828a072989acd8f/src/compression.jl#L19
Maybe functions like the `put`, `update`, and `refresh` methods in https://zarr.readthedocs.io/en/stable/api/attrs.html would be useful.