﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>BlogJava-zl860628-最新评论</title><link>http://www.blogjava.net/zl860628/CommentsRSS.aspx</link><description /><language>zh-cn</language><pubDate>Wed, 06 Aug 2008 03:47:14 GMT</pubDate><lastBuildDate>Wed, 06 Aug 2008 03:47:14 GMT</lastBuildDate><generator>cnblogs</generator><item><title>re: int型数据转成byte数据时出现的问题</title><link>http://www.blogjava.net/zl860628/archive/2008/08/06/220394.html#220412</link><dc:creator>stonebow</dc:creator><author>stonebow</author><pubDate>Wed, 06 Aug 2008 04:40:00 GMT</pubDate><guid>http://www.blogjava.net/zl860628/archive/2008/08/06/220394.html#220412</guid><description><![CDATA[这里面有个问题，就是bLoop &amp; 0xFF的作用，如果不加的话结果会出错。因为byte转化为int的时候是按值相等传递，所以byte值为10000001的时候，对应的int为1111111111111…111110000001，这样就会出现问题，这时候&amp;0xFF就会只保留最后实际的8位了。<img src ="http://www.blogjava.net/zl860628/aggbug/220412.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/zl860628/" target="_blank">stonebow</a> 2008-08-06 12:40 <a href="http://www.blogjava.net/zl860628/archive/2008/08/06/220394.html#220412#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>