The Free and Open Productivity Suite
QA Volunteers Needed -- Help us test OpenOffice

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for Apache OpenOffice version 3.4.

:: com :: sun :: star :: util ::

unpublished constants group Endianness
Usage Restrictions
not published
Description
These constans describe the endiannes of data structures.

The endianness specifies the order in which the bytes of larger types are laid out in memory.

Since
OOo 2.0

Constants
LITTLE Little endian. 
BIG Big endian. 
Constants' Details
LITTLE
const byte LITTLE =0;
Description
Little endian.

The values are stored in little endian format, i.e. the bytes of the long word 0xAABBCCDD are layed out like 0xDD, 0xCC, 0xBB, 0xAA in memory. That is, data of arbitrary machine word lengths always starts with the least significant byte, and ends with the most significant one.

BIG
const byte BIG =1;
Description
Big endian.

The values are stored in big endian format, i.e. the bytes of the long word 0xAABBCCDD are layed out like 0xAA, 0xBB, 0xCC, 0xDD in memory. That is, data of arbitrary machine word lengths always start with the most significant byte, and ends with the least significant one.

Top of Page

Apache Feather

Copyright & License | Privacy | Contact Us | Donate

Apache, the Apache feather logo, and OpenOffice are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.