18 std::vector<unsigned char>
out(
isize);
19 uLongf destLen = compressBound(
isize);
36 blob.push_back((
unsigned char)
c);
42 os.write((
const char*)(
r.first),
r.second -
r.first);
46 const_cast<MultiFileBlob*>(
this)->expand();
50 return Range(
nullptr,
nullptr);
52 unsigned long long b = (*pos).second;
53 unsigned long long e =
isize;
63 return r.second -
r.first;
73 std::vector<unsigned char>
out(
isize);
74 uLongf destLen =
out.size();
75 int zerr = uncompress(&
out.front(), &destLen, &
blob.front(),
blob.size());
76 if (
zerr != 0 ||
out.size() != destLen)
77 edm::LogError(
"FileBlob") <<
"uncompressing error " <<
zerr <<
" original size was " <<
isize <<
" new size is "