We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3. UTF-8 编码 处,代码里有 (u >> 12) & 0xFF,0xFF = 11111111,对它进行逻辑与操作和不进行不一样吗?
(u >> 12) & 0xFF
The text was updated successfully, but these errors were encountered:
不等价,0xFF保证获取最低八位 以u(24bit)为例,u >> 12后,u还剩下12bit,而(u >> 12) & 0xFF 只有低8bit
Sorry, something went wrong.
No branches or pull requests
3. UTF-8 编码 处,代码里有
(u >> 12) & 0xFF
,0xFF = 11111111,对它进行逻辑与操作和不进行不一样吗?The text was updated successfully, but these errors were encountered: