载入中...
搜索中...
未找到
CompressedData.h
浏览该文件的文档.
17 CompressedData(std::string format, char *cdata, size_t compressedsize, size_t rawsize, bool own = true);
Stores byte data compressed via DataModule::compress.
Definition CompressedData.h:12
CompressedData * clone() const override
Creates a duplicate of Data derived class instance.
Definition CompressedData.cpp:37
size_t getDecompressedSize() const
Gets the original (uncompressed) size of the compressed data. May return 0 if the uncompressed size i...
Definition CompressedData.cpp:41
void * getData() const override
Gets a pointer to the data. This pointer will obviously not be valid if the Data object is destroyed.
Definition CompressedData.cpp:43
std::string getFormat() const
Gets the format that was used to compress the data.
Definition CompressedData.cpp:39
Definition Build.cpp:11