MCPcopy Create free account
hub / github.com/DaedalusX64/daedalus / Copy

Method Copy

Source/Utility/String.h:205–212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

203 private:
204
205 void Copy( CConstString string )
206 {
207 #ifdef DAEDALUS_ENABLE_ASSERTS
208 DAEDALUS_ASSERT( string.Length() <= MAX_LENGTH, "String '%s' is too long for copy, truncation will occur", string.c_str() );
209 #endif
210 strncpy( mpString, string, MAX_LENGTH );
211 mpString[ MAX_LENGTH ] = '\0';
212 }
213
214 void Append( CConstString string )
215 {

Callers

nothing calls this directly

Calls 2

LengthMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected