LiteFeel
for flash, cocos2dx and unity
Home
Collection
Plugins
Notepaper
Tools
IP
ASCII
Unicode
cocostudioPositionFixer
Links
Album
About
位操作:设置、取消 位
2009年7月8日
3 条评论
有时候需要用到并列的状态。
// 都是正数才管用的 var n:int = 5; // 设置位 n |= flag; // 取消位 ~flag & n; // 获取位 n & flag;
标签:
AS
,
bit
,
位操作
第 1 页,共 1 页
1
订阅
GitHub
Twitter
随机文章
NumberText
flash player bug – 3D旋转后文本内容不显示
如何做dragonbones的lua绑定(Android)
AS树
FlashIDE色彩效果面板的秘密
AIR 模式化窗口
解决cocos2dx不能在win8运行
Vector.unshift bug已修复
Facebook App Invite
缩放盒子 ScaleBox 同时兼容Flex
分类目录
AS
Other
SFS
WordPress
开发工具
数据库
程序开发
算法
经验之谈
回到顶部