载入中...
搜索中...
未找到
CompressedData.cpp
浏览该文件的文档.
9CompressedData::CompressedData(std::string format, char *cdata, size_t compressedsize, size_t rawsize, bool own)
Definition Exception.h:14
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
CompressedData(std::string format, char *cdata, size_t compressedsize, size_t rawsize, bool own=true)
Constructor just stores already-compressed data in the object.
Definition CompressedData.cpp:9
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