| 119 | } |
| 120 | |
| 121 | Result<BytesView> DiskUtils::load(const Path& path) { |
| 122 | return load(path, 0, std::nullopt); |
| 123 | } |
| 124 | |
| 125 | Result<BytesView> DiskUtils::load(const Path& path, size_t byteOffset, std::optional<size_t> size) { |
| 126 | FileReader reader(path); |