I
inftoconc
Hi, I came across the macro definition (below) to read 16 bits out of
a buffer into an integer. b's type is byte.
#define READ16(b) ((*(b)<<8) | *((b)+1))
I can't quite figure out how it works. Any hints would be appreciated.
Thanks!
a buffer into an integer. b's type is byte.
#define READ16(b) ((*(b)<<8) | *((b)+1))
I can't quite figure out how it works. Any hints would be appreciated.
Thanks!