spices2/src/BucketedZstdData.hpp
2023-04-11 15:51:00 +02:00

18 lines
399 B
C++

#ifndef BUCKETEDZSTDDATA_H
#define BUCKETEDZSTDDATA_H
#include <cstdint>
#include <vector>
#include <optional>
#include <fstream>
class BucketedZstdData {
public:
BucketedZstdData(std::ifstream &file);
std::optional<std::vector<char>> getDatasetWithId(std::uint32_t id);
std::optional<std::vector<std::vector<char>>> getEntriesByID(std::uint32_t id);
private:
std::ifstream &file;
};
#endif