1 #ifndef CondFormats_FileBlob_h
2 #define CondFormats_FileBlob_h
15 FileBlob(std::istream & is,
bool zip);
20 void read(
const std::string&);
22 void write(
const std::string&)
const;
25 void read(std::istream &);
27 void write(std::ostream &)
const;
40 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
std::vector< unsigned char > * getUncompressedBlob() const
i didn't want to do two copies ... hope this works.
void read(const std::string &)
read from real file