Quantcast
Browsing all 2 articles
Browse latest View live

Variable to char\byte array

void MyFunc (int parm) { MyFunc (reinterpret_cast<BYTE const *>(&parm), sizeof(parm)); }void MyFunc (__int64 parm) { MyFunc (reinterpret_cast<BYTE const *>(&parm), sizeof(parm));...

View Article


Variable to char\byte array

Hello everyone, Im not sure if you can do this in c++ but here it is. I have a function that has 4 parameters. The first parameter is a variable (like int64 or int 32) or a byte array. My question is...

View Article

Browsing all 2 articles
Browse latest View live