getEndian

Returns the type of byte-ordering.

Syntax

Defining Macros for C++

 #include "XMLWriter.h	"
 
 	METHOD (XmlWriter, getEndian, int)			
 	END_METHOD
 

C++

 int METHOD_CALL getEndian ();
 

Return Values

Returns non-zero if big-endian (Motorola) byte-ordering will be used with encodings for which it matters (for example, UTF-16).

Returns zero if little-endian (Intel) ordering will be used.