18 char* GetBytes()
const;
19 size_t GetSize()
const;
26 void copy(
char* bytes,
const size_t size);
35 void ReleaseOwnership();
void Clear()
Clears data, free buffer and reset data size.
Definition: FileData.cpp:89
void copy(char *bytes, const size_t size)
Copies the buffer pointer and its size.
Definition: FileData.cpp:71
different physics engine has different winding order.
Definition: EventBinding.h:32
void SetOwnBuffer(char *bytes, const size_t size)
take ownership of the buffer.
Definition: FileData.cpp:83
bool isNull() const
Check whether the data is null.
Definition: FileData.cpp:56