MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / getPtr8

Method getPtr8

Engine/source/core/stringBuffer.cpp:398–407  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

396}
397
398const UTF8* StringBuffer::getPtr8() const
399{
400 incRequestCount8();
401 // get a pointer to the utf8 version of the StringBuffer's data store.
402 // if the utf8 version is dirty, update it first.
403 if(mDirty8)
404 // force const cheating.
405 const_cast<StringBuffer*>(this)->updateBuffer8();
406 return mBuffer8.address();
407}
408
409void StringBuffer::updateBuffer8()
410{

Callers 5

execConsoleCallbackMethod · 0.80
getScriptValueMethod · 0.80
findPrevWordMethod · 0.80
findNextWordMethod · 0.80
reflowMethod · 0.80

Calls 2

updateBuffer8Method · 0.80
addressMethod · 0.45

Tested by

no test coverage detected