but that’s a lot of typing. I’m outputting to a stream, and initially just cast the pointer as (unsigned long)(void*), but that gives me a decimal value, so I passed the result of that to String::toHexString(), but I’m just wondering if there is an easier way to stream pointers as hex strings?
I took both of your advice, and made a function (which uses the correct pointer size integer). Just seems like it would have been such a common thing to do that there might be a built-in conversion for this. Guess not.