9 first_event_offset_(0),
10 last_event_offset_(0),
16 ost_(new std::ofstream(name.c_str(), std::ios_base::binary | std::ios_base::
out)),
19 if(!
ost_->is_open()) {
21 <<
"Error Opening Output File: "<<name<<
"\n";
23 ost_->rdbuf()->pubsetbuf(0,0);
boost::shared_ptr< std::ofstream > ost_
OutputFile(const std::string &name)
bool write(const char *ptr, size_t n)
void Adler32(char const *data, size_t len, uint32_t &a, uint32_t &b)