<!--$Id: byteorder.so,v 10.20 2000/03/18 21:43:15 bostic Exp $--><!--Copyright 1997, 1998, 1999, 2000 by Sleepycat Software, Inc.--><!--All rights reserved.--><html><head><title>Berkeley DB Reference Guide: Byte ordering</title><metaname="description"content="Berkeley DB: An embedded database programmatic toolkit."><metaname="keywords"content="embedded,database,programmatic,toolkit,b+tree,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,java,C,C++"></head><bodybgcolor=white><aname="2"><!--meow--></a><aname="3"><!--meow--></a><table><trvalign=top><td><h3><dl><dt>Berkeley DB Reference Guide:<dd>Programmer Notes</dl></h3></td><tdwidth="1%"><ahref="../../ref/program/dbsizes.html"><imgsrc="../../images/prev.gif"alt="Prev"></a><ahref="../../ref/toc.html"><imgsrc="../../images/ref.gif"alt="Ref"></a><ahref="../../ref/program/diskspace.html"><imgsrc="../../images/next.gif"alt="Next"></a></td></tr></table><p><h1align=center>Byte ordering</h1><p>The database files created by Berkeley DB can be created in either little orbig-endian formats. By default, the native format of the machine on whichthe database is created will be used. Any format database can be used ona machine with a different native format, although it is possible thatthe application will incur a performance penalty for the run-timeconversion.<p>No user-specified data is converted in any way at all. Key or data itemsstored on machines of one format will be returned to the applicationexactly as stored on machines of another format.<table><tr><td><br></td><tdwidth="1%"><ahref="../../ref/program/dbsizes.html"><imgsrc="../../images/prev.gif"alt="Prev"></a><ahref="../../ref/toc.html"><imgsrc="../../images/ref.gif"alt="Ref"></a><ahref="../../ref/program/diskspace.html"><imgsrc="../../images/next.gif"alt="Next"></a></td></tr></table><p><fontsize=1><ahref="http://www.sleepycat.com">Copyright Sleepycat Software</a></font></body></html>