<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://nick-black.com/dankwiki/index.php?action=history&amp;feed=atom&amp;title=Endianness</id>
	<title>Endianness - revision history</title>
	<link rel="self" type="application/atom+xml" href="https://nick-black.com/dankwiki/index.php?action=history&amp;feed=atom&amp;title=Endianness"/>
	<link rel="alternate" type="text/html" href="https://nick-black.com/dankwiki/index.php?title=Endianness&amp;action=history"/>
	<updated>2026-07-06T00:59:50Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://nick-black.com/dankwiki/index.php?title=Endianness&amp;diff=4694&amp;oldid=prev</id>
		<title>Dank: Created page with &quot;You oughtn&#039;t ever need deal with endianness unless you&#039;re doing one of three things: * Writing a specification for a network protocol or file format * Reading/writing to a net...&quot;</title>
		<link rel="alternate" type="text/html" href="https://nick-black.com/dankwiki/index.php?title=Endianness&amp;diff=4694&amp;oldid=prev"/>
		<updated>2011-12-14T08:33:54Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;You oughtn&amp;#039;t ever need deal with endianness unless you&amp;#039;re doing one of three things: * Writing a specification for a network protocol or file format * Reading/writing to a net...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;You oughtn&amp;#039;t ever need deal with endianness unless you&amp;#039;re doing one of three things:&lt;br /&gt;
* Writing a specification for a network protocol or file format&lt;br /&gt;
* Reading/writing to a network&lt;br /&gt;
* Reading/writing to an external file&lt;br /&gt;
==[[Compilation]]==&lt;br /&gt;
If your compiler isn&amp;#039;t properly folding down constant expressions involving byteswaps, the following are defined in linux&amp;#039;s &amp;lt;tt&amp;gt;asm/byteorder.h&amp;lt;/tt&amp;gt;:&lt;br /&gt;
* __constant_htons()&lt;br /&gt;
* __constant_ntohs()&lt;br /&gt;
* __constant_htonl()&lt;br /&gt;
* __constant_ntohl()&lt;br /&gt;
[[CATEGORY: Networking]]&lt;/div&gt;</summary>
		<author><name>Dank</name></author>
	</entry>
</feed>