FCbObjectId

An opaque 12-byte object identifier.

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

class FCbObjectId

Remarks

An opaque 12-byte object identifier.

It has no intrinsic meaning, and can only be properly interpreted in the context of its usage.

Constructors

Name Description

Public function

FCbObjectId()

Construct an ObjectId with every byte initialized to zero.

Public function

FCbObjectId

(
    const ByteArray& ObjectId
)

Construct an ObjectId from an array of 12 bytes.

Public function

FCbObjectId

(
    FMemoryView ObjectId
)

Construct an ObjectId from a view of 12 bytes.

Functions

Name Description

Public function Const

const ByteAr...

 

GetBytes()

Returns a reference to the raw byte array for the ObjectId.

Public function Const

constexpr FM...

 

GetView()

Returns a view of the raw byte array for the ObjectId.

Public function Static

FCbObjectId

 

NewObjectId()

Operators

Name Description

Public function Const

 

operator const ByteArray &()

Typedefs

Name

Description

ByteArray