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
After JuliaLang/julia#19449, soon to be merged for Julia 0.6, you will no longer be able to access the raw bytes of a string via string.data; instead, do Vector{UInt8}(string). For example, this affects:
After JuliaLang/julia#19449, soon to be merged for Julia 0.6, you will no longer be able to access the raw bytes of a string via
string.data
; instead, doVector{UInt8}(string)
. For example, this affects:https://github.com/quinnj/WeakRefStrings.jl/blob/34d5207e0c3e0c4b133ccc8d226a9e509e530df1/src/WeakRefStrings.jl#L64
By the way,
length(x)
in that function looks wrong. I think you wantsizeof(x)
, the number of bytes, not the length (the number of codepoints).The text was updated successfully, but these errors were encountered: