The byte order for integers in the stored database metadata. The host byte order of the machine where the Berkeley DB library was compiled is the default value.

Namespace:  BerkeleyDB
Assembly:  libdb_dotnet52 (in libdb_dotnet52.dll) Version:


public ByteOrder ByteOrder
Visual Basic (Declaration)
Public ByteOrder As ByteOrder
Visual C++
ByteOrder^ ByteOrder


The access methods provide no guarantees about the byte ordering of the application data stored in the database, and applications are responsible for maintaining any necessary ordering.

If creating additional databases in a single physical file, this parameter will be ignored and the byte order of the existing databases will be used.

See Also