We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17cc969 commit 25a93acCopy full SHA for 25a93ac
1 file changed
src/pipeline.jl
@@ -8,8 +8,7 @@ function pipeline_encode(p::V2Pipeline, data::AbstractArray, fill_value)
8
if p.compressor isa NoCompressor && p.filters === nothing
9
n = sizeof(data)
10
out = Vector{UInt8}(undef, n)
11
- GC.@preserve out data unsafe_copyto!(pointer(out),
12
- Ptr{UInt8}(pointer(data)), n)
+ GC.@preserve out data unsafe_copyto!(pointer(out), Ptr{UInt8}(pointer(data)), n)
13
return out
14
end
15
if fill_value !== nothing && all(isequal(fill_value), data)
0 commit comments