iw7-mod/deps/gsc-tool/include/xsk/arc/common/buffer.hpp

21 lines
394 B
C++
Raw Normal View History

2024-08-13 05:15:34 -04:00
// Copyright 2024 xensik. All rights reserved.
//
// Use of this source code is governed by a GNU GPLv3 license
// that can be found in the LICENSE file.
#pragma once
namespace xsk::arc
{
struct buffer
{
u8 const* data;
usize const size;
buffer() : data{ nullptr }, size{ 0 } {}
buffer(u8 const* data, usize size) : data{ data }, size{ size } {}
};
} // namespace xsk::arc