ef="http://dlang.org/type.html#basic-data-types">void</a> <a href="tinyendian.html#swapByteOrder">swapByteOrder</a>(T)(T[] array) 
if([2, 4].canFind(T.sizeof))
</code></pre>
<div class="section "><p>Swap byte order of items in an array in place.
</p>


</div>
<div class="section"><h2>Parameters</h2>
<table class="params">
<tr class="param"><td class="paramName">T</td><td class="paramDoc"><p>Item type. Must be either 2 or 4 bytes long.
</p>
</td></tr>
<tr class="param"><td class="paramName">array</td><td cla