MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / PutUint8

Method PutUint8

src/core/string_builder.cpp:18–24  ·  view source on GitHub ↗

* Append binary uint8. */

Source from the content-addressed store, hash-verified

16 * Append binary uint8.
17 */
18void BaseStringBuilder::PutUint8(uint8_t value)
19{
20 std::array<char, 1> buf{
21 static_cast<char>(value)
22 };
23 this->PutBuffer(buf);
24}
25
26/**
27 * Append binary int8.

Callers 12

PutSint8Method · 0.95
PutCharMethod · 0.95
FormatStringFunction · 0.80
FlushMethod · 0.80
EmitWordListFunction · 0.80
EmitPluralFunction · 0.80
EmitGenderFunction · 0.80
PutArgidxCommandFunction · 0.80
PutCommandStringFunction · 0.80
WriteLangMethod · 0.80
string_inplace.cppFile · 0.80
string_builder.cppFile · 0.80

Calls 1

PutBufferMethod · 0.45

Tested by

no test coverage detected