| 158 | // function, you should allocate enough memory first (e.g. call resize(xx)) |
| 159 | void uncompressFrom(const char* src, size_t src_size); |
| 160 | void uncompressFrom(const SArray<char>& src) { uncompressFrom(src.data(), src.size()); } |
| 161 | |
| 162 | // read the segment [range.begin(), range.end()) from the binary file |
| 163 | bool readFromFile(SizeR range, const string& file_name); |