How to read some bytes from BYTE*
- by chekalin-v
I have BYTE pointer. For example the length of this BYTE array is 10.
How can I read 4 bytes from 3 position BYTE array?
Now I doing it so
BYTE *source = "1234567890\0";
BYTE* tmp = new BYTE[4+1]();
for(int i=0; i<4; i++)
{
tmp[i] = source[i+3];
}