You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GC.@preserve from unsafe_copyto!(p, pointer(from.data, from.ptr), adv)
from.ptr += adv
if nb > avail
throw(EOFError())
end
nothing
end
This can lead to the following strange behavior:
julia> a =@view(collect(0x00:0x0f)[begin:2:end])
8-element view(::Vector{UInt8}, 1:2:15) with eltype UInt8:0x000x020x040x060x080x0a0x0c0x0e
julia> b =read(IOBuffer(a))
8-element Vector{UInt8}:0x000x010x020x030x040x050x060x07
The content you are editing has changed. Please copy your edits and refresh the page.
julia/base/iobuffer.jl
Lines 184 to 194 in 4ecdc37
This can lead to the following strange behavior:
Tasks
The text was updated successfully, but these errors were encountered: