aboutsummaryrefslogtreecommitdiff
path: root/include/DataView.hpp
blob: 982cb8ab268bca59640094bfc4b1a89d60b5afac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#pragma once

#include "types.hpp"

namespace odhtdb
{
    class DataView
    {
    public:
        DataView() : data(nullptr), size(0) {}
        DataView(void *_data, usize _size) : data(_data), size(_size) {}

        const void *data;
        const usize size;
    };
}