LkEngine 0.1.2
 
Loading...
Searching...
No Matches
LkEngine::FBuffer Struct Reference
Inheritance diagram for LkEngine::FBuffer:
LkEngine::FBufferSafe

Public Member Functions

 FBuffer (const void *InData, const uint64_t InSize)
 
 FBuffer (const FBuffer &Other)
 
 FBuffer (FBuffer &&Other) noexcept
 
FBufferoperator= (const FBuffer &Other) noexcept
 
FBufferoperator= (FBuffer &&Other) noexcept
 
FORCEINLINE void Allocate (const uint64_t InSize)
 
FORCEINLINE void Release ()
 
FORCEINLINE void ZeroInitialize ()
 
template<typename T >
FORCEINLINE T & Read (const uint64_t Offset=0)
 
template<typename T >
FORCEINLINE const T & Read (uint64_t Offset=0) const
 
FORCEINLINE byte * ReadBytes (const uint64_t ReadSize, const uint64_t Offset) const
 
FORCEINLINE void Write (const void *InData, const uint64_t WriteSize, uint64_t Offset=0)
 
 operator bool ()
 
 operator bool () const
 
byte & operator[] (int index)
 
byte operator[] (int index) const
 
template<typename T >
T * As () const
 
FORCEINLINE uint64_t GetSize () const
 

Static Public Member Functions

static FORCEINLINE FBuffer Copy (const FBuffer &Other)
 
static FORCEINLINE FBuffer Copy (const void *Data, const uint64_t Size)
 

Public Attributes

void * Data = nullptr
 
uint64_t Size = 0
 

The documentation for this struct was generated from the following file: