1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2025-06-10 05:41:42 +03:00
2018-06-09 23:28:02 +03:00

28 lines
442 B
C++

//
// Copyright (C) 2018 Codership Oy <info@codership.com>
//
#ifndef WSREP_DATA_HPP
#define WSREP_DATA_HPP
namespace wsrep
{
class data
{
public:
data()
: buf_()
{
}
data(const void* ptr, size_t len)
: buf_(ptr, len)
{
}
const wsrep::buffer& get() const { return buf_; }
private:
wsrep::buffer buf_;
};
}
#endif // WSREP_DATA_HPP