Navigation
API > API/Runtime > API/Runtime/Core
Description
Validate the compact binary package pointed to by the view as specified by the mode flags.
The package, and attachments, are validated with ValidateCompactBinary by using the validation mode specified. Include ECbValidateMode::Package to validate the package format and hashes.
| Name | ValidateCompactBinaryPackage |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Serialization/CompactBinaryValidation.h |
| Include Path | #include "Serialization/CompactBinaryValidation.h" |
| Source | /Engine/Source/Runtime/Core/Private/Serialization/CompactBinaryValidation.cpp |
ECbValidateError ValidateCompactBinaryPackage
(
FMemoryView View,
ECbValidateMode Mode
)
None on success, otherwise the flags for the types of errors that were detected.
Parameters
| Name | Remarks |
|---|---|
| View | A memory view containing a package. |
| Mode | A combination of the flags for the types of validation to perform. |
See Also
- ValidateCompactBinary