6#include "Misc/AssertionMacros.h"
7#include "HAL/UnrealMemory.h"
8#include "Serialization/Archive.h"
9#include "Containers/UnrealString.h"
12
13
14
19
20
21
22
23
24
25
26
51 check(ReaderPos >= 0);
52 check(ReaderPos + Num <= ReaderSize);
64 void Seek(int64 InPos)
final
67 check(InPos <= ReaderSize);
75
76
77
78
79
93
94
95
100
101
102
103
104
105
106
107
108 FBufferReader(
void* Data, int64 Size,
bool bInFreeOnClose,
bool bIsPersistent =
false )
void Serialize(void *Data, int64 Num) final
void Seek(int64 InPos) final
virtual bool Close() override
FBufferReaderBase(void *Data, int64 Size, bool bInFreeOnClose, bool bIsPersistent=false)
virtual ~FBufferReaderBase()=0
virtual FString GetArchiveName() const
virtual FString GetArchiveName() const
FBufferReader(void *Data, int64 Size, bool bInFreeOnClose, bool bIsPersistent=false)
virtual ~FBufferReader() override
virtual void SetIsPersistent(bool bInIsPersistent)
FORCEINLINE bool IsError() const
virtual void SetIsLoading(bool bInIsLoading)
static void Free(void *Original)
static FORCEINLINE void * Memcpy(void *Dest, const void *Src, SIZE_T Count)