MCPcopy Create free account
hub / github.com/carbonengine/trinity / ReadRaw

Method ReadRaw

trinity/Shader/Tr2EffectDescription.cpp:49–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47 }
48
49 void ReadRaw( void* dest, size_t size )
50 {
51 if( m_current + size > m_end )
52 {
53 throw std::runtime_error( "Unexpected end of file while" );
54 }
55 memcpy( dest, m_current, size );
56 m_current += size;
57 }
58
59 const void* ReadRaw( size_t size )
60 {

Callers 2

ReadInputFunction · 0.80
ReadMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected