This is shorter and a bit more clean in my opinion
var a: cstring = ""
let a_ptr = cast[ByteAddress](a)
echo a_ptr
- Re: How to get the address of string mratsim
- Re: How to get the address of string twetzel59
This is shorter and a bit more clean in my opinion
var a: cstring = ""
let a_ptr = cast[ByteAddress](a)
echo a_ptr