aboutsummaryrefslogtreecommitdiff
path: root/include/DataView.hpp
blob: c020f91c789857332f1bbfe9dcbb5589bd6a2542 (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) {}

        void *data;
        usize size;
    };
}