A
Allen
I want to package an address to byte buffer. So I need to cast it to
integer value.
How to cast it?
const char * ptr = 0x0013e328;
int value = <cast> (ptr); // use reinterpret_cast?
integer value.
How to cast it?
const char * ptr = 0x0013e328;
int value = <cast> (ptr); // use reinterpret_cast?