| 87 | } |
| 88 | |
| 89 | void BinFileReader::SeekToFirst() { |
| 90 | bufsize_ = 0; |
| 91 | offset_ = 0; |
| 92 | fdat_.clear(); |
| 93 | fdat_.seekg(0); |
| 94 | CHECK(fdat_.is_open()) << "Cannot create file " << path_; |
| 95 | } |
| 96 | |
| 97 | bool BinFileReader::OpenFile() { |
| 98 | buf_ = new char[capacity_]; |
nothing calls this directly
no outgoing calls
no test coverage detected