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

Method getChar

Engine/source/core/stringBuffer.cpp:348–356  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

346}
347
348const UTF16 StringBuffer::getChar(const U32 offset) const
349{
350 incRequestCount16();
351
352 // Allow them to grab the null terminator if they want.
353 AssertFatal(offset<mBuffer.size(), "StringBuffer::getChar - outside of range.");
354
355 return mBuffer[offset];
356}
357
358//-------------------------------------------------------------------------
359

Callers 5

calculateCursorPosMethod · 0.80
drawTextMethod · 0.80
handleCharInputMethod · 0.80
splitAtomListEmitMethod · 0.80
reflowMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected