MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / append

Method append

src/OpenLoco/src/Localisation/StringBuffer.cpp:25–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23 }
24
25 void StringBuffer::append(value_type chr)
26 {
27 if (offset >= maxLen)
28 {
29 throw Exception::OverflowError("String buffer overflow");
30 }
31
32 buffer[offset] = chr;
33 offset++;
34 }
35
36 void StringBuffer::append(const char* input)
37 {

Callers 10

handleInputMethod · 0.80
clipStringFunction · 0.80
formatDateDMYFullFunction · 0.80
formatDateMYFullFunction · 0.80
formatDateMYAbbrevFunction · 0.80
formatRawDateMYAbbrevFunction · 0.80
formatCurrencyFunction · 0.80
formatStringPartFunction · 0.80
formatStringImplFunction · 0.80
list_filesFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected