FValue::Compress

Compress the buffer to a value using default derived data compression parameters.

Unreal Engine C++ API Reference > Developer > DerivedDataCache > FValue > Compress

References

   
Module DerivedDataCache
Header /Engine/Source/Developer/DerivedDataCache/Public/DerivedDataValue.h
Include #include "DerivedDataValue.h"
Source /Engine/Source/Developer/DerivedDataCache/Private/DerivedDataValue.cpp
static [FValue](API\Developer\DerivedDataCache\FValue) Compress
(
    const [FSharedBuffer](API\Runtime\Core\Memory\FSharedBuffer) & RawData,
    uint64 BlockSize
)

Remarks

Compress the buffer to a value using default derived data compression parameters.

Parameters

Name Description
RawData The raw data to be compressed.
BlockSize The power-of-two block size to encode raw data in. 0 is default.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library