Nathan Zimmerberg
Nathan Zimmerberg
As noted by @jakobnissen in https://github.com/JuliaIO/TranscodingStreams.jl/pull/149#discussion_r1358720410 and @Marlin-Na in #109 there is no way to implement a generic `seekend` method that doesn't process the whole file. This is because after...
Conda packages can have scripts to set and unset environment variables when the environment is activated and deactivated. https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#saving-environment-variables These get added to `.CondaPkg/env/etc/conda/activate.d/` and `.CondaPkg/env/etc/conda/deactivate.d/` Currently from what I...
Work toward fixing #95 Before this PR `Zlib.Writer` and `Zlib.crc32` could not handle more than 4 GB at a time because of a limitation of the zlib C library. This...
Fixes #84 This PR continues on the work of @cerisola in #85 And incorporates requested changes from @fhs I have added `os :: UInt8` and `externalattrs :: UInt32` fields to...
Adds tests that zip files created by `Writer` can be extracted by other programs. Currently, I have tests for p7zip, bsdtar, the python standard library, and Info-ZIP if it is...
Fixes #54156 Changes part of #53896 The main difference between `view` and `unsafe_vector` is that the result of `view` has a fixed size, and creates a copy when passed to...
This has happened since #53896 Here is a MWE. ``` julia> a = Memory{UInt8}(undef, 10); julia> fill!(a, 0x01); julia> String(view(a, 1:2)) "\x01\x01" julia> a 0-element Memory{UInt8} ``` I expected `a`...
Currently all keys are just converted to strings and printed, (except for `nothing`) This assumes that keys don't have any problematic characters for example " #" and are shorter than...
It would be nice to be able to copy a Codec like in python https://docs.python.org/3/library/zlib.html#zlib.Compress.copy This can be useful when repeating compression of data with a long common prefix like...
Since calling `String` on a `view` of an `AbstractVector{UInt8}` is potential UB https://github.com/JuliaLang/julia/pull/54372#issuecomment-2102885169 I think it would be helpful to have a function. ```julia copystring(v::AbstractVector{UInt8}) = take_string!(copyto!(StringMemory(length(v)), v))) ``` I...