载入中...
搜索中...
未找到
ByteData.cpp
浏览该文件的文档.
88CompressedData::CompressedData(std::string format, char* cdata, size_t compressedsize, size_t rawsize, bool own)
virtual void * getData() const =0
Gets a pointer to the data. This pointer will obviously not be valid if the Data object is destroyed.
In-memory byte buffer implementing eve::Data (ref-counted).
Definition ByteData.h:13
Stores byte data compressed via DataModule::compress.
Definition CompressedData.h:14
CompressedData * clone() const override
Deep copy. @ownership Caller deletes.
Definition ByteData.cpp:116
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 ByteData.cpp:88
size_t getDecompressedSize() const
Gets the original (uncompressed) size of the compressed data. May return 0 if the uncompressed size i...
Definition ByteData.cpp:120
std::string getFormat() const
Gets the format that was used to compress the data.
Definition ByteData.cpp:118
Contains a reference to a subsection of an existing Data object.
Definition DataView.h:16
Definition Container.h:602