ReturnBuffer
Engine/source/console/returnBuffer.h
Simple circular buffer class for temporary return storage.
Private Attributes
Private Functions
ensureSize(U32 newSize)
Possibly expand the buffer to be larger than newSize.
Public Functions
Detailed Description
Simple circular buffer class for temporary return storage.
Private Attributes
char * mBuffer
U32 mBufferSize
U32 mStart
Private Functions
ensureSize(U32 newSize)
Possibly expand the buffer to be larger than newSize.
Public Functions
ReturnBuffer()
~ReturnBuffer()
getBuffer(U32 size, U32 alignment)
Get a temporary buffer with a given size (and alignment)
note:The buffer will be re-used so do not consider it permanent