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 Tue Aug 10 00:12:31 EDT 2021 from SVN revision 232765
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)