3#include <Foundation/Basics.h>
4#include <Foundation/Containers/DynamicArray.h>
7enum class plCompressionMethod : plUInt16
This class encapsulates an array and it's size. It is recommended to use this class instead of plain ...
Definition ArrayPtr.h:37
Definition DynamicArray.h:81
This namespace contains utilities which can be used to compress and decompress data.
Definition Compression.h:14
PL_FOUNDATION_DLL plResult Compress(plArrayPtr< const plUInt8 > uncompressedData, plCompressionMethod method, plDynamicArray< plUInt8 > &out_data)
Compresses the given data using the compression method eMethod into the dynamic array given in out_Da...
Definition Compression.cpp:72
PL_FOUNDATION_DLL plResult Decompress(plArrayPtr< const plUInt8 > compressedData, plCompressionMethod method, plDynamicArray< plUInt8 > &out_data)
Decompresses the given data using the compression method eMethod into the dynamic array given in out_...
Definition Compression.cpp:96
Default enum for returning failure or success, instead of using a bool.
Definition Types.h:54