Navigation
Unreal Engine C++ API Reference > Runtime > Core > IO > FIoStoreReader
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/IO/IoDispatcher.h |
Include | #include "IO/IoDispatcher.h" |
Source | /Engine/Source/Runtime/Core/Private/IO/IoStore.cpp |
TIoStatusOr< FIoStoreCompressedReadResult > ReadCompressed
&40;
const FIoChunkId & Chunk,
const FIoReadOptions & Options,
bool bDecrypt
&41; const
Remarks
Reads and decrypts if necessary the compressed blocks, but does not decompress them. The totality of the data is stored in FIoStoreCompressedReadResult::FIoBuffer as a contiguous buffer, however each block is padded during encryption, so either use FIoStoreCompressedBlockInfo::AlignedSize to advance through the buffer, or use FIoStoreCompressedBlockInfo::OffsetInBuffer directly.