Ark Server API (ASA) - Wiki
|
#include <MemoryReadStream.h>
Public Member Functions | |
virtual const void * | Read (int64 &OutSize, int64 InOffset, int64 InSize)=0 |
virtual int64 | GetSize ()=0 |
virtual void | CopyTo (void *Buffer, int64 InOffset, int64 InSize) |
virtual void | EnsureReadNonBlocking () |
FORCEINLINE uint32 | AddRef () const |
FORCEINLINE uint32 | Release () const |
FORCEINLINE uint32 | GetRefCount () const |
Static Public Member Functions | |
static TRefCountPtr< IMemoryReadStream > | CreateFromCopy (const void *InMemory, int64 InSize) |
static TRefCountPtr< IMemoryReadStream > | CreateFromCopy (IMemoryReadStream *InStream) |
static TRefCountPtr< IMemoryReadStream > | CreateFromBuffer (void *InMemory, int64 InSize, bool bOwnPointer) |
Protected Member Functions | |
virtual | ~IMemoryReadStream () |
Private Attributes | |
FThreadSafeCounter | NumRefs |
Represents a block of memory, but abstracts away the underlying layout
Definition at line 13 of file MemoryReadStream.h.
|
inlineprotectedvirtual |
Definition at line 43 of file MemoryReadStream.h.
|
inline |
|
static |
|
static |
|
static |
Definition at line 23 of file MemoryReadStream.h.
|
inline |
|
pure virtual |
|
inline |
|
mutableprivate |
Definition at line 46 of file MemoryReadStream.h.