MCPcopy Create free account
hub / github.com/ImageEngine/cortex / writeLittleEndian

Function writeLittleEndian

src/IECore/StreamIndexedIO.cpp:135–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133
134template<typename F, typename T>
135void writeLittleEndian( F &f, const T &n )
136{
137 const T nl = asLittleEndian<>(n);
138 f.write( (const char*) &nl, sizeof(T) );
139}
140
141template<typename F, typename T>
142void readLittleEndian( F &f, T &n )

Callers 6

writeMethod · 0.85
writeDataNodeMethod · 0.85
writeNodeMethod · 0.85
writeNodeChildrenMethod · 0.85
writeMethod · 0.85
writeUniqueDataMethod · 0.85

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected