Hi All,
Is this behavior of transcode
expected? Should transcode
not be a function without side effects?
regards,
Sambit
julia> PADDING1 =
[0x28, 0xBF, 0x4E, 0x5E]
4-element Array{UInt8,1}:
0x28
0xbf
0x4e
0x5e
julia> str = transcode(String, PADDING1)
"(\xbfN^"
julia> PADDING1
0-element Array{UInt8,1}
julia> versioninfo()
Julia Version 1.1.0
Commit 80516ca202 (2019-01-21 21:24 UTC)
Platform Info:
OS: Linux (x86_64-pc-linux-gnu)
CPU: Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-6.0.1 (ORCJIT, skylake)