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

Method readFixedString

src/cinder/Stream.cpp:106–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104////////////////////////////////////////////////////////////////////////////////////////
105
106void IStreamCinder::readFixedString( char *t, size_t size, bool nullTerminate )
107{
108 IORead( t, size );
109 if ( nullTerminate )
110 t[size-1] = 0;
111}
112
113void IStreamCinder::readFixedString( std::string *t, size_t size )
114{

Callers

nothing calls this directly

Calls 2

IOReadFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected