aboutsummaryrefslogtreecommitdiff
path: root/src/archive.h
blob: fcf19b74d3259590f4e3c8a98edfef027ec3818b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#pragma once

#include "index.h"

namespace dictzip {

class ArchiveFile {
public:
	ArchiveFile(const std::string& path);

	std::string get(std::size_t offset, std::size_t length) const;
	std::string get(const IndexFile::Entry& entry) const;

private:
	const std::string path_;

};

}