| 330 | } |
| 331 | |
| 332 | TBlob TBlob::FromFileContent(const TString& path) { |
| 333 | TFile file(path, RdOnly); |
| 334 | return ConstructFromFileContent<TAtomicCounter>(file, 0, file.GetLength()); |
| 335 | } |
| 336 | |
| 337 | TBlob TBlob::FromFileContentSingleThreaded(const TFile& file) { |
| 338 | return ConstructFromFileContent<TSimpleCounter>(file, 0, file.GetLength()); |