1 #ifndef __MEMORYBUFFER_H__ 2 #define __MEMORYBUFFER_H__ 13 static const s32 BUFFER_SIZE = 1024;
20 {
for(
s32 i = 0 ; i < BUFFER_SIZE ; i++ ){ Buffer[i] = 0; } }
40 u8 Buffer[BUFFER_SIZE];
47 #endif // #ifndef __MEMORYBUFFER_H__ unsigned char u8
Definition: TypeDefs.h:6
~MemoryBuffer()
Definition: MemoryBuffer.h:23
Definition: MemoryBuffer.h:7
MemoryBuffer()
Definition: MemoryBuffer.h:18
u8 * GetTop()
Definition: MemoryBuffer.h:26
void Pop(s32 Size)
Definition: MemoryBuffer.cpp:21
int s32
Definition: TypeDefs.h:9
void Push(const u8 *Data, s32 Size)
Definition: MemoryBuffer.cpp:5
s32 GetSize()
Definition: MemoryBuffer.h:29