1 #ifndef CondFormats_FileBlob_h
2 #define CondFormats_FileBlob_h
17 FileBlob(std::istream & is,
bool zip);
27 void read(std::istream &);
29 void write(std::ostream &)
const;
35 #if !defined(__CINT__) && !defined(__MAKECINT__) && !defined(__REFLEX__)
44 std::vector<unsigned char>
blob;
bool isCompressed() const
std::vector< unsigned char > blob
static unsigned int computeFileSize(const std::string &)
static unsigned int computeStreamSize(std::istream &)
void write(const std::string &) const
write to real file
#define COND_SERIALIZABLE
void read(const std::string &)
read from real file
std::unique_ptr< std::vector< unsigned char > > getUncompressedBlob() const
i didn't want to do two copies ... hope this works.