#include "Globals.h"
#include "FastNBT.h"
Go to the source code of this file.
|
static const int | MAX_LIST_ITEMS = 10000 |
| If a list being loaded has more than this number of items, it's considered corrupted. More...
|
|
#define CASE_SIMPLE_TAG |
( |
|
TAGTYPE, |
|
|
|
LEN |
|
) |
| |
Value:case TAG_##TAGTYPE: \
Tag.m_DataStart = m_Pos; \
Tag.m_DataLength = LEN; \
m_Pos += LEN; \
}
#define NEEDBYTES(N, ERR)
Definition at line 291 of file FastNBT.cpp.
#define NBT_RESERVE_SIZE 200 |
#define NEEDBYTES |
( |
|
N, |
|
|
|
ERR |
|
) |
| |
Value:do { \
if (m_Length - m_Pos < static_cast<size_t>(N)) \
{ \
return ERR; \
} \
} while (false)
Definition at line 145 of file FastNBT.cpp.
const int MAX_LIST_ITEMS = 10000 |
|
static |
If a list being loaded has more than this number of items, it's considered corrupted.
Definition at line 14 of file FastNBT.cpp.