载入中...
搜索中...
未找到
JSON-free versioned runtime metadata codec. 更多...
#include "common/Export.h"#include "common/Result.h"#include "common/Value.h"#include <cstdint>#include <span>#include <vector>类 | |
| struct | eve::asset::RuntimeDefinitionLimits |
| Structural and allocation limits for untrusted EVDEF metadata. 更多... | |
命名空间 | |
| namespace | eve |
| Build metadata (engine git commit, build time, third-party version). | |
| namespace | eve::asset |
函数 | |
| Result< std::vector< std::uint8_t > > | eve::asset::encodeRuntimeDefinition (const Value &value, const RuntimeDefinitionLimits &limits={}) |
Encode an owning metadata tree as deterministic EVDEF\0\1 bytes. | |
| Result< Value > | eve::asset::decodeRuntimeDefinition (std::span< const std::uint8_t > bytes, const RuntimeDefinitionLimits &limits={}) |
Decode a bounded EVDEF\0\1 metadata tree without a JSON parser. | |
详细描述
JSON-free versioned runtime metadata codec.
在文件 RuntimeDefinition.h 中定义.