<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: 关于“字节序”</title> <atom:link href="http://ixhan.com/2009/10/little-about-byte-order/feed/" rel="self" type="application/rss+xml" /><link>http://ixhan.com/2009/10/little-about-byte-order/</link> <description>Live in your world, get owned in mine</description> <lastBuildDate>Thu, 17 May 2012 18:54:00 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.2</generator> <item><title>By: 诚子</title><link>http://ixhan.com/2009/10/little-about-byte-order/comment-page-1/#comment-628</link> <dc:creator>诚子</dc:creator> <pubDate>Mon, 13 Dec 2010 02:49:00 +0000</pubDate> <guid
isPermaLink="false">http://ixhan.com/?p=68#comment-628</guid> <description>网络传输一般都是用 BE 的，可以用 htons, htonl 来转换一下，接收后可以 ntohs, ntohl 转成本地的 Byte Order ,一般来讲存储的话最好用 BE ，但也有例外，比如 zip 就是用的 LE 。相对于字节序，还有 比特序 一说，不过这个太底层，是硬件生产商需要考虑的了。软件层考虑 字节序 就够了。</description> <content:encoded><![CDATA[<p>网络传输一般都是用 BE 的，可以用 htons, htonl 来转换一下，接收后可以 ntohs, ntohl 转成本地的 Byte Order ,一般来讲存储的话最好用 BE ，但也有例外，比如 zip 就是用的 LE 。相对于字节序，还有 比特序 一说，不过这个太底层，是硬件生产商需要考虑的了。软件层考虑 字节序 就够了。</p> ]]></content:encoded> </item> </channel> </rss>
