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