Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning: Vector{UInt8}(s::String) will copy data in the future. To avoid copying, use unsafe_wrap or codeunits instead. #36

Open
s-celles opened this issue Aug 29, 2018 · 0 comments

Comments

@s-celles
Copy link
Owner

$ julia examples/raw_cmd_invalid.jl 
page 2
┌ Warning: Vector{UInt8}(s::String) will copy data in the future. To avoid copying, use `unsafe_wrap` or `codeunits` instead.
│   caller = (::getfield(Main, Symbol("#wait_response#3")))(::LibSerialPort.SerialPort) at raw_cmd_invalid.jl:20
└ @ Main ~/.julia/dev/Nextion/examples/raw_cmd_invalid.jl:20
Array{UInt8,1}
UInt8[0x66, 0x02, 0xc3, 0xbf, 0xc3, 0xbf, 0xc3, 0xbf]
Test Summary:   | Pass  Total
raw_cmd_invalid |    1      1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant