| 146 | } |
| 147 | |
| 148 | size_t File::write(const void* const buf, size_t size) { |
| 149 | return (is_gz_ ? gzwrite(gz_f_, buf, size) : fwrite(buf, 1, size, f_)); |
| 150 | } |
| 151 | |
| 152 | char* File::readLine(char* const output, uint64 max_length) { |
| 153 | return (is_gz_ ? gzgets(gz_f_, output, max_length) : fgets(output, max_length, f_)); |
no outgoing calls
no test coverage detected