Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FCompression
Description
Wraps UncompressMemory to provide access with a IMemoryReadStream interface, attempting to avoid copying in to a contiguous buffer doe decompression if the format supports it. If not, a CompressedSize temp buffer will be allocated.
| Name | UncompressMemoryStream |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/Compression.h |
| Include Path | #include "Misc/Compression.h" |
| Source | /Engine/Source/Runtime/Core/Private/Misc/Compression.cpp |
static bool UncompressMemoryStream
(
FName FormatName,
void * UncompressedBuffer,
int64 UncompressedSize,
IMemoryReadStream * Stream,
int64 StreamOffset,
int64 CompressedSize,
ECompressionFlags Flags,
uintptr_t CompressionData
)