C
cylin
Dear all,
From now on, I just can get a byte twice.
Then decode this two bytes.
for example,
buffer is a unsigned char array.
value=(*buffer)<<8;
value+=*(buffer+1);
Is there any fast way to do that?
Regards,
cylin.
From now on, I just can get a byte twice.
Then decode this two bytes.
for example,
buffer is a unsigned char array.
value=(*buffer)<<8;
value+=*(buffer+1);
Is there any fast way to do that?
Regards,
cylin.