FCbFieldView::TryGetView

Try to get a view of the field as it would be serialized, such as by CopyTo.

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Serialization/CompactBinary.h

Include

#include "Serialization/CompactBinary.h"

Syntax

bool TryGetView
(
    FMemoryView & OutView
) const

Remarks

Try to get a view of the field as it would be serialized, such as by CopyTo.

A view is available if the field contains its type. Access the equivalent for other fields through FCbField::GetBuffer, FCbField::Clone, or CopyTo.