Redian新闻
>
what is difference between 0x0008 and 8?
avatar
what is difference between 0x0008 and 8?# Programming - 葵花宝典
h*o
1
const ushort PERS_ID_GIF_OPT_LEVEL = 0x0008;
what does it mean? why not represent it as 8?
Thanks,
avatar
g*g
2
No difference, for binary mask, it means 00001000.
People think this is clear.

【在 h**o 的大作中提到】
: const ushort PERS_ID_GIF_OPT_LEVEL = 0x0008;
: what does it mean? why not represent it as 8?
: Thanks,

avatar
l*8
3
Yeah it is much cleaner to define a binary mask for bits 9 thru 13 as 0x3e00
, instead of the decimal "15872".
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。