| 81 | |
| 82 | template<typename T> |
| 83 | void IStreamCinder::readBig( T *t ) |
| 84 | { |
| 85 | #if ! defined( CINDER_LITTLE_ENDIAN ) |
| 86 | read( t ); |
| 87 | #else |
| 88 | IORead( t, sizeof(T) ); |
| 89 | *t = swapEndian( *t ); |
| 90 | #endif |
| 91 | } |
| 92 | |
| 93 | template<typename T> |
| 94 | void IStreamCinder::readLittle( T *t ) |
nothing calls this directly
no test coverage detected