Closed stevengj closed 7 years ago
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:
string.data
Vector{UInt8}(string)
https://github.com/amitmurthy/LibExpat.jl/blob/57a412ba1d51da766baf41046bfe2eb24607118b/src/streaming.jl#L219
(Instead of length(txt.data), you can do sizeof(txt).)
length(txt.data)
sizeof(txt)
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/amitmurthy/LibExpat.jl/blob/57a412ba1d51da766baf41046bfe2eb24607118b/src/streaming.jl#L219
(Instead of
length(txt.data)
, you can dosizeof(txt)
.)