<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>Crystal Space 1.2.1: csBigEndian Struct Reference (Crystal Space 1.2.1 Public API Reference)</title> <link href="tabs.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <table border="0" cellpadding="0" cellspacing="0" width="100%" class="head"> <tr height="59"> <td class="head" width="202" valign="bottom" style="padding-left:0;"><a href="http://www.crystalspace3d.org/"><img src="csblur.png" width="236" height="59" alt="CrystalSpace" border="0"></a></td> <td class="head"><h2>Public API Reference</h2></td> </tr> <tr height="11"> <td colspan="2" class="headshadow" valign="top" style="padding-left:0;"><img src="csblurb.png" width="236" height="11" alt="" border="0"></td> </tr> </table> <div class="content"> <!-- Generated by Doxygen 1.5.3 --> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="classes.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="classes.html"><span>Alphabetical List</span></a></li> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <h1>csBigEndian Struct Reference<br> <small> [<a class="el" href="group__util.html">Utilities</a>]</small> </h1><!-- doxytag: class="csBigEndian" -->Big endian to native conversion routines. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="csendian_8h-source.html">csutil/csendian.h</a>></code> <p> <p> <a href="structcsBigEndian-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr> <tr><td colspan="2"><div class="groupHeader"></div></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="992dfa74eca30fe3c94edf1aa2afb559"></a><!-- doxytag: member="csBigEndian::Convert" ref="992dfa74eca30fe3c94edf1aa2afb559" args="(int64 l)" --> static <a class="el" href="group__util.html#gecfc3c54bd29ad5964e1c1c3ccbf89df">int64</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structcsBigEndian.html#992dfa74eca30fe3c94edf1aa2afb559">Convert</a> (<a class="el" href="group__util.html#gecfc3c54bd29ad5964e1c1c3ccbf89df">int64</a> l)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a75f1f7a91f448afe262f033d42ed2b1"></a><!-- doxytag: member="csBigEndian::Convert" ref="a75f1f7a91f448afe262f033d42ed2b1" args="(uint64 l)" --> static <a class="el" href="group__util.html#g058a7c8f752204f23318dc1dcab45b1c">uint64</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structcsBigEndian.html#a75f1f7a91f448afe262f033d42ed2b1">Convert</a> (<a class="el" href="group__util.html#g058a7c8f752204f23318dc1dcab45b1c">uint64</a> l)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b5ed04d68519cf6ea81365c17bbcc021"></a><!-- doxytag: member="csBigEndian::Convert" ref="b5ed04d68519cf6ea81365c17bbcc021" args="(int32 l)" --> static <a class="el" href="group__util.html#g56f1a81c92849566ae864511088eb7e8">int32</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structcsBigEndian.html#b5ed04d68519cf6ea81365c17bbcc021">Convert</a> (<a class="el" href="group__util.html#g56f1a81c92849566ae864511088eb7e8">int32</a> l)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a6d57e13167f0c29c58b28d2d87cf80d"></a><!-- doxytag: member="csBigEndian::Convert" ref="a6d57e13167f0c29c58b28d2d87cf80d" args="(uint32 l)" --> static <a class="el" href="group__util.html#g1134b580f8da4de94ca6b1de4d37975e">uint32</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structcsBigEndian.html#a6d57e13167f0c29c58b28d2d87cf80d">Convert</a> (<a class="el" href="group__util.html#g1134b580f8da4de94ca6b1de4d37975e">uint32</a> l)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="41fc57233ffeece64c62fb4be7c1b934"></a><!-- doxytag: member="csBigEndian::Convert" ref="41fc57233ffeece64c62fb4be7c1b934" args="(int16 s)" --> static <a class="el" href="group__util.html#g4355d16fcf9f644c9ac84293f0b1801f">int16</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structcsBigEndian.html#41fc57233ffeece64c62fb4be7c1b934">Convert</a> (<a class="el" href="group__util.html#g4355d16fcf9f644c9ac84293f0b1801f">int16</a> s)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="group__util.html#g05f6b0ae8f6a6e135b0e290c25fe0e4e">uint16</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structcsBigEndian.html#31f915351c5c0c9a2b4d97bf07740538">Convert</a> (<a class="el" href="group__util.html#g05f6b0ae8f6a6e135b0e290c25fe0e4e">uint16</a> s)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Convert specifically sized type from or to big endian. <a href="#31f915351c5c0c9a2b4d97bf07740538"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cd0043b2336f16ac2ede13aa1a1d08bc"></a><!-- doxytag: member="csBigEndian::Int16" ref="cd0043b2336f16ac2ede13aa1a1d08bc" args="(int16 x)" --> static <a class="el" href="group__util.html#g4355d16fcf9f644c9ac84293f0b1801f">int16</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structcsBigEndian.html#cd0043b2336f16ac2ede13aa1a1d08bc">Int16</a> (<a class="el" href="group__util.html#g4355d16fcf9f644c9ac84293f0b1801f">int16</a> x)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4675550524e8be4c7270fe6936294517"></a><!-- doxytag: member="csBigEndian::Int32" ref="4675550524e8be4c7270fe6936294517" args="(int32 x)" --> static <a class="el" href="group__util.html#g56f1a81c92849566ae864511088eb7e8">int32</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structcsBigEndian.html#4675550524e8be4c7270fe6936294517">Int32</a> (<a class="el" href="group__util.html#g56f1a81c92849566ae864511088eb7e8">int32</a> x)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="51e0474ffbe5f33a38ad970f5e9529e4"></a><!-- doxytag: member="csBigEndian::Int64" ref="51e0474ffbe5f33a38ad970f5e9529e4" args="(int64 x)" --> static <a class="el" href="group__util.html#gecfc3c54bd29ad5964e1c1c3ccbf89df">int64</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structcsBigEndian.html#51e0474ffbe5f33a38ad970f5e9529e4">Int64</a> (<a class="el" href="group__util.html#gecfc3c54bd29ad5964e1c1c3ccbf89df">int64</a> x)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d9487c9434d18f390317bd505711ed0c"></a><!-- doxytag: member="csBigEndian::UInt16" ref="d9487c9434d18f390317bd505711ed0c" args="(uint16 x)" --> static <a class="el" href="group__util.html#g05f6b0ae8f6a6e135b0e290c25fe0e4e">uint16</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structcsBigEndian.html#d9487c9434d18f390317bd505711ed0c">UInt16</a> (<a class="el" href="group__util.html#g05f6b0ae8f6a6e135b0e290c25fe0e4e">uint16</a> x)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fc23854c7240eac3b726eecced934e8f"></a><!-- doxytag: member="csBigEndian::UInt32" ref="fc23854c7240eac3b726eecced934e8f" args="(uint32 x)" --> static <a class="el" href="group__util.html#g1134b580f8da4de94ca6b1de4d37975e">uint32</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structcsBigEndian.html#fc23854c7240eac3b726eecced934e8f">UInt32</a> (<a class="el" href="group__util.html#g1134b580f8da4de94ca6b1de4d37975e">uint32</a> x)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="96c93373e7584c18fb94a057c434900f"></a><!-- doxytag: member="csBigEndian::UInt64" ref="96c93373e7584c18fb94a057c434900f" args="(uint64 x)" --> static <a class="el" href="group__util.html#g058a7c8f752204f23318dc1dcab45b1c">uint64</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structcsBigEndian.html#96c93373e7584c18fb94a057c434900f">UInt64</a> (<a class="el" href="group__util.html#g058a7c8f752204f23318dc1dcab45b1c">uint64</a> x)</td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Big endian to native conversion routines. <p> <dl class="remark" compact><dt><b>Remarks:</b></dt><dd>Since conversion from and to native representation is the same operation, all methods can be used for either direction. </dd></dl> <p>Definition at line <a class="el" href="csendian_8h-source.html#l00134">134</a> of file <a class="el" href="csendian_8h-source.html">csendian.h</a>.</p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="31f915351c5c0c9a2b4d97bf07740538"></a><!-- doxytag: member="csBigEndian::Convert" ref="31f915351c5c0c9a2b4d97bf07740538" args="(uint16 s)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="group__util.html#g05f6b0ae8f6a6e135b0e290c25fe0e4e">uint16</a> csBigEndian::Convert </td> <td>(</td> <td class="paramtype"><a class="el" href="group__util.html#g05f6b0ae8f6a6e135b0e290c25fe0e4e">uint16</a> </td> <td class="paramname"> <em>s</em> </td> <td> ) </td> <td width="100%"><code> [inline, static]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Convert specifically sized type from or to big endian. <p> <p>Definition at line <a class="el" href="csendian_8h-source.html#l00142">142</a> of file <a class="el" href="csendian_8h-source.html">csendian.h</a>.</p> <p>References <a class="el" href="csendian_8h-source.html#l00045">csSwapBytes::Swap()</a>.</p> <p>Referenced by <a class="el" href="csendian_8h-source.html#l00156">Int16()</a>, <a class="el" href="csendian_8h-source.html#l00120">csLittleEndian::Int16()</a>, <a class="el" href="csendian_8h-source.html#l00158">Int32()</a>, <a class="el" href="csendian_8h-source.html#l00122">csLittleEndian::Int32()</a>, <a class="el" href="csendian_8h-source.html#l00160">Int64()</a>, <a class="el" href="csendian_8h-source.html#l00124">csLittleEndian::Int64()</a>, <a class="el" href="csendian_8h-source.html#l00155">UInt16()</a>, <a class="el" href="csendian_8h-source.html#l00119">csLittleEndian::UInt16()</a>, <a class="el" href="csendian_8h-source.html#l00157">UInt32()</a>, <a class="el" href="csendian_8h-source.html#l00121">csLittleEndian::UInt32()</a>, <a class="el" href="csendian_8h-source.html#l00159">UInt64()</a>, and <a class="el" href="csendian_8h-source.html#l00123">csLittleEndian::UInt64()</a>.</p> </div> </div><p> <hr>The documentation for this struct was generated from the following file:<ul> <li>csutil/<a class="el" href="csendian_8h-source.html">csendian.h</a></ul> <hr size="1"><address><small>Generated for Crystal Space 1.2.1 by <a href="http://www.doxygen.org/index.html">doxygen</a> 1.5.3 </small></address> </div></body> </html>