Differences between revisions 1 and 3 (spanning 2 versions)
Revision 1 as of 2007-08-21 21:26:53
Size: 94
Editor: gtang
Comment:
Revision 3 as of 2007-08-21 21:28:36
Size: 256
Editor: gtang
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
Line 3: Line 4:

 * check running-host byte-order;
 * check a given data-block byte-order;
 * convert host byte-order to little-endian or big-endian;
 * swap byte-orders.

How to handle image data byte-order?

ByteOrder class is defined to handle data byte-orders:

  • check running-host byte-order;
  • check a given data-block byte-order;
  • convert host byte-order to little-endian or big-endian;
  • swap byte-orders.

eman2ByteOrder (last edited 2008-11-26 04:42:28 by localhost)