Size: 96
Comment:
|
Size: 256
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 4: | 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.