json-tutorial
json-tutorial copied to clipboard
[Tutorial 04] 关于「& 0xFF」的问题
不等价,0xFF保证获取最低八位 以u(24bit)为例,u >> 12后,u还剩下12bit,而(u >> 12) & 0xFF 只有低8bit