OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimEndian.cpp
Go to the documentation of this file.
1 //******************************************************************
2 //
3 // License: See top level LICENSE.txt file.
4 //
5 // Author: Garrett Potts
6 //
7 // Description: This file contains the implementation of the
8 // endian byte swap routines.
9 //
10 //***********************************
11 // $Id: ossimEndian.cpp 22197 2013-03-12 02:00:55Z dburken $
12 
13 #include <ossim/base/ossimEndian.h>
14 
16 {
17  ossim_uint16 test;
18  ossim_uint8 *testPtr=0;
19  test = 0x0001;
20 
21  testPtr = reinterpret_cast<unsigned char*>(&test);
23 }
unsigned short ossim_uint16
ossimByteOrder theSystemEndianType
Definition: ossimEndian.h:68
unsigned char ossim_uint8