|
| void | UE::Serialization::Private::LogFieldTooLargeForArrayWarning (uint64 FieldLength) |
| |
| CORE_API uint64 | MeasureCompactBinary (FMemoryView View, ECbFieldType Type=ECbFieldType::HasFieldType) |
| |
| CORE_API bool | TryMeasureCompactBinary (FMemoryView InView, ECbFieldType &OutType, uint64 &OutSize, ECbFieldType InType=ECbFieldType::HasFieldType) |
| |
| CORE_API FCbField | LoadCompactBinary (FArchive &Ar, FCbBufferAllocator Allocator=FUniqueBuffer::Alloc) |
| |
| CORE_API void | SaveCompactBinary (FArchive &Ar, const FCbFieldView &Field) |
| |
| CORE_API void | SaveCompactBinary (FArchive &Ar, const FCbArrayView &Array) |
| |
| CORE_API void | SaveCompactBinary (FArchive &Ar, const FCbObjectView &Object) |
| |
| CORE_API FArchive & | operator<< (FArchive &Ar, FCbField &Field) |
| |
| CORE_API FArchive & | operator<< (FArchive &Ar, FCbArray &Array) |
| |
| CORE_API FArchive & | operator<< (FArchive &Ar, FCbObject &Object) |
| |
| CORE_API bool | LoadFromCompactBinary (FCbFieldView Field, FUtf8StringBuilderBase &OutValue) |
| |
| CORE_API bool | LoadFromCompactBinary (FCbFieldView Field, FWideStringBuilderBase &OutValue) |
| |
| CORE_API bool | LoadFromCompactBinary (FCbFieldView Field, UE::FUtf8SharedString &OutString) |
| |
| CORE_API bool | LoadFromCompactBinary (FCbFieldView Field, UE::FWideSharedString &OutString) |
| |
| CORE_API bool | LoadFromCompactBinary (FCbFieldView Field, FUtf8String &OutValue) |
| |
| CORE_API bool | LoadFromCompactBinary (FCbFieldView Field, FWideString &OutValue) |
| |
| CORE_API bool | LoadFromCompactBinary (FCbFieldView Field, FName &OutValue) |
| |
| bool | LoadFromCompactBinary (FCbFieldView Field, int8 &OutValue, const int8 Default=0) |
| |
| bool | LoadFromCompactBinary (FCbFieldView Field, int16 &OutValue, const int16 Default=0) |
| |
| bool | LoadFromCompactBinary (FCbFieldView Field, int32 &OutValue, const int32 Default=0) |
| |
| bool | LoadFromCompactBinary (FCbFieldView Field, int64 &OutValue, const int64 Default=0) |
| |
| bool | LoadFromCompactBinary (FCbFieldView Field, uint8 &OutValue, const uint8 Default=0) |
| |
| bool | LoadFromCompactBinary (FCbFieldView Field, uint16 &OutValue, const uint16 Default=0) |
| |
| bool | LoadFromCompactBinary (FCbFieldView Field, uint32 &OutValue, const uint32 Default=0) |
| |
| bool | LoadFromCompactBinary (FCbFieldView Field, uint64 &OutValue, const uint64 Default=0) |
| |
| bool | LoadFromCompactBinary (FCbFieldView Field, float &OutValue, const float Default=0.0f) |
| |
| bool | LoadFromCompactBinary (FCbFieldView Field, double &OutValue, const double Default=0.0) |
| |
| bool | LoadFromCompactBinary (FCbFieldView Field, bool &OutValue, const bool Default=false) |
| |
| bool | LoadFromCompactBinary (FCbFieldView Field, FIoHash &OutValue, const FIoHash &Default=FIoHash()) |
| |
| CORE_API bool | LoadFromCompactBinary (FCbFieldView Field, FGuid &OutValue) |
| |
| CORE_API bool | LoadFromCompactBinary (FCbFieldView Field, FGuid &OutValue, const FGuid &Default) |
| |
| CORE_API bool | LoadFromCompactBinary (FCbFieldView Field, FDateTime &OutValue) |
| |
| CORE_API bool | LoadFromCompactBinary (FCbFieldView Field, FDateTime &OutValue, FDateTime Default) |
| |
| bool | LoadFromCompactBinary (FCbFieldView Field, FCbObjectId &OutValue, const FCbObjectId &Default=FCbObjectId()) |
| |
| template<typename T , typename Allocator > |
| bool | LoadFromCompactBinary (FCbFieldView Field, TArray< T, Allocator > &OutValue) |
| |
| CORE_API void | CompactBinaryToJson (const FCbFieldView &Field, FUtf8StringBuilderBase &Builder) |
| |
| CORE_API void | CompactBinaryToJson (const FCbFieldView &Field, FWideStringBuilderBase &Builder) |
| |
| CORE_API void | CompactBinaryToJson (const FCbArrayView &Array, FUtf8StringBuilderBase &Builder) |
| |
| CORE_API void | CompactBinaryToJson (const FCbArrayView &Array, FWideStringBuilderBase &Builder) |
| |
| CORE_API void | CompactBinaryToJson (const FCbObjectView &Object, FUtf8StringBuilderBase &Builder) |
| |
| CORE_API void | CompactBinaryToJson (const FCbObjectView &Object, FWideStringBuilderBase &Builder) |
| |
| CORE_API void | CompactBinaryToCompactJson (const FCbFieldView &Field, FUtf8StringBuilderBase &Builder) |
| |
| CORE_API void | CompactBinaryToCompactJson (const FCbFieldView &Field, FWideStringBuilderBase &Builder) |
| |
| CORE_API void | CompactBinaryToCompactJson (const FCbArrayView &Array, FUtf8StringBuilderBase &Builder) |
| |
| CORE_API void | CompactBinaryToCompactJson (const FCbArrayView &Array, FWideStringBuilderBase &Builder) |
| |
| CORE_API void | CompactBinaryToCompactJson (const FCbObjectView &Object, FUtf8StringBuilderBase &Builder) |
| |
| CORE_API void | CompactBinaryToCompactJson (const FCbObjectView &Object, FWideStringBuilderBase &Builder) |
| |
Determine the size in bytes of the compact binary field at the start of the view.
This may be called on an incomplete or invalid field, in which case the returned size is zero. A size can always be extracted from a valid field with no name if a view of at least the first 10 bytes is provided, regardless of field size. For fields with names, the size of view needed to calculate a size is at most 10 + MaxNameLen + MeasureVarUInt(MaxNameLen).
This function can be used when streaming a field, for example, to determine the size of buffer to fill before attempting to construct a field from it.
- Parameters
-
| View | A memory view that may contain the start of a field. |
| Type | HasFieldType means that View contains the type. Otherwise, use the given type. |