Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FCompressedBufferReader
Description
Decompress into an owned buffer.
RawOffset must be at most the raw buffer size. RawSize may be MAX_uint64 to read the whole buffer from RawOffset, and must otherwise fit within the bounds of the buffer.
| Name | Decompress |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Compression/CompressedBuffer.h |
| Include Path | #include "Compression/CompressedBuffer.h" |
| Source | /Engine/Source/Runtime/Core/Private/Compression/CompressedBuffer.cpp |
FSharedBuffer Decompress
(
uint64 RawOffset,
uint64 RawSize
)
An owned buffer containing the raw data, or null on error.
Parameters
| Name | Remarks |
|---|---|
| RawOffset | The offset into the raw data from which to decompress. |
| RawSize | The size of the raw data to read from the offset. |