MCPcopy Create free account
hub / github.com/GarageGames/Torque2D / getCopy8

Method getCopy8

engine/source/string/stringBuffer.cc:373–378  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

371//-------------------------------------------------------------------------
372
373void StringBuffer::getCopy8(UTF8 *buff, const U32 buffSize) const
374{
375 incRequestCount8();
376 AssertFatal(mBuffer.last() == 0, "StringBuffer::get UTF8 - not a null terminated string!");
377 convertUTF16toUTF8(mBuffer.address(), buff, buffSize);
378}
379
380void StringBuffer::getCopy(UTF16 *buff, const U32 buffSize) const
381{

Callers 5

getTextMethod · 0.80
getTextMethod · 0.80
getTextContentMethod · 0.80
onKeyDownMethod · 0.80
onKeyDownMethod · 0.80

Calls 3

convertUTF16toUTF8Function · 0.70
lastMethod · 0.45
addressMethod · 0.45

Tested by

no test coverage detected