Navigation
API > API/Runtime > API/Runtime/Core
Flags for validating compact binary data.
| Name | ECbValidateMode |
| Type | enum |
| Header File | /Engine/Source/Runtime/Core/Public/Serialization/CompactBinaryValidation.h |
| Include Path | #include "Serialization/CompactBinaryValidation.h" |
Syntax
enum ECbValidateMode
{
None = 0,
Default = 1 << 0,
Names = 1 << 1,
Format = 1 << 2,
Padding = 1 << 3,
Package = 1 << 4,
PackageHash = 1 << 5,
All = Default | Names | Format | Padding | Package | PackageHash,
}
Values
| Name | Remarks |
|---|---|
| None | Skip validation if no other validation modes are enabled. |
| Default | Validate that the value can be read and stays inside the bounds of the memory view. |
| Names | Validate that object fields have unique non-empty names and array fields have no names. |
| Format | Validate that fields are serialized in the canonical format. |
| Padding | Validate that there is no padding after the value before the end of the memory view. |
| Package | Validate that a package or attachment has the expected fields. |
| PackageHash | Validate that a package or attachment matches its saved hashes. |
| All | Perform all validation described above. |