FBinaryObjectReader

A small helper class to enable binary reads on an archive, since the FObjectReader::Serialize(TArray& InBytes) constructor is protected

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

OptimusDeveloper

Header

/Engine/Plugins/Experimental/Optimus/Source/OptimusDeveloper/Public/OptimusHelpers.h

Include

#include "OptimusHelpers.h"

Syntax

class FBinaryObjectReader : public FObjectReader

Remarks

A small helper class to enable binary reads on an archive, since the FObjectReader::Serialize(TArray<uint8>& InBytes) constructor is protected

Constructors

Name Description

Public function

FBinaryObjectReader

(
    UObject* Obj,
    const TArray< uint8 >& InBytes
)

FIXME: The constructor is broken. It only needs a const ref.