Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Misc
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Misc/CompressedGrowableBuffer.h |
| Include | #include "Misc/CompressedGrowableBuffer.h" |
Syntax
struct FCompressedGrowableBuffer
Remarks
Growable compressed buffer. Usage is to append frequently but only request and therefore decompress very infrequently. The prime usage case is the memory profiler keeping track of full call stacks.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FCompressedGrowableBuffer
(
int32 MaxPendingBufferSize, |
Make sure to remove the EVS2015Redirector constructor when this constructor is removed. | ||
FCompressedGrowableBuffer
(
int32 MaxPendingBufferSize, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void * | Accesses the data at passed in offset and returns it. | ||
| int32 | Appends passed in data to the buffer. | ||
| SIZE_T | Helper function to return the amount of memory allocated by this buffer | ||
| void | Lock () |
Locks the buffer for reading. | |
| int32 | Num () |
||
| void | Unlock () |
Unlocks the buffer and frees temporary resources used for accessing. |
Enums
| Type | Name | Description | |
|---|---|---|---|
| EVS2015Redirector | This enum and the following constructor is a workaround for VC compiler bug that prevents using attributes on constructors without inline implementation. |