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, FCompressedGrowableBuffer
(
int32 MaxPendingBufferSize, |
Use FName version of FCompressedGrowableBuffer constructor | |
![]() |
FCompressedGrowableBuffer
(
int32 MaxPendingBufferSize, |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void * | Access
(
int32 Offset |
Accesses the data at passed in offset and returns it. |
![]() |
int32 | Append
(
void* Data, |
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. |
Deprecated Functions
Type | Name | Description | |
---|---|---|---|
![]() |
FCompressedGrowableBuffer
(
int32 MaxPendingBufferSize, FCompressedGrowableBuffer
(
int32 MaxPendingBufferSize, |
Use FName version of FCompressedGrowableBuffer constructor |