Class to read from a NewGRF file.
More...
Class to read from a NewGRF file.
Definition at line 216 of file newgrf.cpp.
◆ ByteReader()
| ByteReader::ByteReader |
( |
uint8_t * |
data, |
|
|
uint8_t * |
end |
|
) |
| |
|
inline |
◆ HasData()
| bool ByteReader::HasData |
( |
size_t |
count = 1 | ) |
const |
|
inline |
◆ PeekDWord()
| uint32_t ByteReader::PeekDWord |
( |
| ) |
|
|
inline |
◆ ReadByte()
| uint8_t ByteReader::ReadByte |
( |
| ) |
|
|
inline |
◆ ReadBytes()
| uint8_t * ByteReader::ReadBytes |
( |
size_t |
size | ) |
|
|
inline |
◆ ReadDWord()
| uint32_t ByteReader::ReadDWord |
( |
| ) |
|
|
inline |
◆ ReadExtendedByte()
| uint16_t ByteReader::ReadExtendedByte |
( |
| ) |
|
|
inline |
◆ ReadString()
| std::string_view ByteReader::ReadString |
( |
| ) |
|
|
inline |
◆ ReadVarSize()
| uint32_t ByteReader::ReadVarSize |
( |
uint8_t |
size | ) |
|
|
inline |
◆ ReadWord()
| uint16_t ByteReader::ReadWord |
( |
| ) |
|
|
inline |
◆ Remaining()
| size_t ByteReader::Remaining |
( |
| ) |
const |
|
inline |
◆ Skip()
| void ByteReader::Skip |
( |
size_t |
len | ) |
|
|
inline |
◆ data
| uint8_t* ByteReader::data |
|
protected |
◆ end
The documentation for this class was generated from the following file: