MCPcopy Create free account
hub / github.com/cinder/Cinder / readBig

Method readBig

src/cinder/Stream.cpp:83–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81
82template<typename T>
83void 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
93template<typename T>
94void IStreamCinder::readLittle( T *t )

Callers

nothing calls this directly

Calls 3

IOReadFunction · 0.85
swapEndianFunction · 0.70
readFunction · 0.50

Tested by

no test coverage detected