12 ost_(new std::ofstream(name.c_str(), std::ios_base::binary | std::ios_base::
out)),
15 if(!
ost_->is_open()) {
17 <<
"Error Opening Output File: "<<name<<
"\n";
19 ost_->rdbuf()->pubsetbuf(0,0);
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)
std::shared_ptr< std::ofstream > ost_