OpenTTD Source  1.11.2
Buffer Struct Reference

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

Inheritance diagram for Buffer:

Public Member Functions

void AppendByte (byte value)
 Convenience method for adding a byte. More...
 
void AppendUtf8 (uint32 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 236 of file strgen_base.cpp.

Member Function Documentation

◆ AppendByte()

void Buffer::AppendByte ( byte  value)
inline

Convenience method for adding a byte.

Parameters
valueThe value to add.

Definition at line 241 of file strgen_base.cpp.

◆ AppendUtf8()

void Buffer::AppendUtf8 ( uint32  value)
inline

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

Parameters
valueThe character to add.

Definition at line 250 of file strgen_base.cpp.

References GB().


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