Navigation
API > API/Runtime > API/Runtime/Core
Base class for serializing arbitrary data in memory.
| Name | FMemoryArchive |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Serialization/MemoryArchive.h |
| Include Path | #include "Serialization/MemoryArchive.h" |
Syntax
class FMemoryArchive : public FArchive
Inheritance Hierarchy
- FArchiveState → FArchive → FMemoryArchive
Derived Classes
FMemoryArchive derived class hierarchy
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMemoryArchive() |
Marked as protected to avoid instantiating this class directly | Serialization/MemoryArchive.h |
Functions
Public
Overridden from FArchive
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Seek
(
int64 InPos |
Attempts to set the current offset into backing data storage, this will do nothing if there is no storage. | Serialization/MemoryArchive.h |
Overridden from FArchiveState
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FString GetArchiveName () |
Returns the name of the Archive. | Serialization/MemoryArchive.h | |
virtual int64 Tell () |
Returns the current location within the backing data storage, which can possibly be passed to Seek later to restore a read/write location. | Serialization/MemoryArchive.h |