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>NETReadSwappedBytes*</title>
8<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css">
9</head>
10
11<body>
12
13<h1 align="left">NETReadSwappedBytes*</h1>
14<h2>C Specification</h2>
15
16<dl>
17  <dd>
18<PRE><CODE>#include &lt;revolution/net.h&gt;
19
20inline u16 NETReadSwappedBytes16( const u16* src );
21inline u32 NETReadSwappedBytes32( const u32* src );
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">src</font></strong></em></TD>
30<TD width="670">Pointer to the data where the byte order of data is to be reversed and the resulting value read.</TD>
31    </TR>
32  </table>
33<h2>Return Values</h2>
34<p>Value show byte order is reversed and then read.</p>
35<H2>Description</H2>
36<p>
37This function reverses the byte order beginning from the specified address and reads either a 16-bit or 32-bit value.</p>
38<h2>See Also</h2>
39<p>
40<CODE><a href="NETSwapBytes.html">NETSwapBytes16</a></CODE>, <CODE><a href="NETSwapBytes.html">NETSwapBytes32</a></CODE>, <CODE><a href="NETWriteSwappedBytes.html">NETWriteSwappedBytes16</a></CODE>, <CODE><a href="NETWriteSwappedBytes.html">NETWriteSwappedBytes32</a></CODE>
41</p>
42<H2>Revision History</H2>
43<P>
442006/09/01 Initial version.<BR>
45</P>
46<hr><p>CONFIDENTIAL</p></body>
47</html>
48