VR-Link JAVA API Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
2.8 - Big and Little Endian Wire Formats

In rare cases, simulations may be forced to communicate with applications that use little endian rather than big endian wire formats.

VR-Link provides a mechanism for setting and inspecting the current wire format at runtime using the functions DtSetNetworkByteOrdering() and DtNetworkByteOrdering() (defined in vlNetTypes.h). Big endian is the default.

To use little endian byte ordering, call:

DtSetNetworkByteOrdering(DtLittleEndian);

To change it back to the default, call:

DtSetNetworkByteOrdering(DtBigEndian);

[<< Other Simulation Concepts] [Home] [Basic VR-Link Examples >>]


Document ID: Generated on Mon Apr 25 03:39:01 EDT 2022 from SVN revision 242502
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)