OpenTTD Source  20241121-master-g67a0fccfad
Buffer Struct Reference

The buffer for writing a single string. More...

Inheritance diagram for Buffer:

Public Member Functions

void AppendByte (uint8_t value)
 Convenience method for adding a byte. More...
 
void AppendUtf8 (uint32_t value)
 Add an Unicode character encoded in UTF-8 to the buffer. More...
 

Detailed Description

The buffer for writing a single string.

Definition at line 177 of file strgen_base.cpp.

Member Function Documentation

◆ AppendByte()

void Buffer::AppendByte ( uint8_t  value)
inline

Convenience method for adding a byte.

Parameters
valueThe value to add.

Definition at line 182 of file strgen_base.cpp.

◆ AppendUtf8()

void Buffer::AppendUtf8 ( uint32_t  value)
inline

Add an Unicode character encoded in UTF-8 to the buffer.

Parameters
valueThe character to add.

Definition at line 191 of file strgen_base.cpp.

References GB().


The documentation for this struct was generated from the following file: