| 51 | |
| 52 | template<typename T> |
| 53 | void OStream::writeLittle( T t ) |
| 54 | { |
| 55 | #if defined( CINDER_LITTLE_ENDIAN ) |
| 56 | write( t ); |
| 57 | #else |
| 58 | t = swapEndian( t ); |
| 59 | IOWrite( &t, sizeof(T) ); |
| 60 | #endif |
| 61 | } |
| 62 | |
| 63 | ////////////////////////////////////////////////////////////////////////// |
| 64 | void IStreamCinder::read( std::string *s ) |
no test coverage detected