1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3
4<head>
5<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
6<META http-equiv="Content-Style-Type" content="text/css">
7<title>NETWriteSwappedBytes*</title>
8<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css">
9</head>
10
11<body>
12
13<h1 align="left">NETWriteSwappedBytes*</h1>
14<h2>C Specification</h2>
15
16<dl>
17  <dd>
18<PRE><CODE>#include &lt;revolution/net.h&gt;
19
20inline void NETWriteSwappedBytes16( u16* dst, u16 val );
21inline void NETWriteSwappedBytes32( u32* dst, u32 val );
22
23</CODE></PRE>
24  </dd>
25</dl><h2>Arguments</h2>
26
27<table border="1" width="100%">
28    <TR>
29<TD width="176"><em><strong><font face="Courier New">dst</font></strong></em></TD>
30<TD width="670">Pointer to the data where the byte order is to be reversed and the resulting value written.</TD>
31    </TR>
32    <TR>
33<TD width="176"><em><strong><font face="Courier New">val</font></strong></em></TD>
34<TD width="670">The value to write.</TD>
35    </TR>
36  </table>
37<h2>Return Values</h2>
38<p>None.</p>
39<H2>Description</H2>
40<p>
41This function reverses the byte order of a 16-bit or 32-bit value and writes the result to the specified address.</p>
42<h2>See Also</h2>
43<p>
44<CODE><a href="NETSwapBytes.html">NETSwapBytes16</a></CODE>, <CODE><a href="NETSwapBytes.html">NETSwapBytes32</a></CODE>, <CODE><a href="NETReadSwappedBytes.html">NETReadSwappedBytes16</a></CODE>, <CODE><a href="NETReadSwappedBytes.html">NETReadSwappedBytes32</a></CODE>
45</p>
46<H2>Revision History</H2>
47<P>
482006/09/01 Initial version.<BR>
49</P>
50<hr><p>CONFIDENTIAL</p></body>
51</html>
52