2024-01-14 06:11:26 -05:00
|
|
|
// Copyright 2024 xensik. All rights reserved.
|
2023-02-12 06:56:27 -05:00
|
|
|
//
|
|
|
|
// Use of this source code is governed by a GNU GPLv3 license
|
|
|
|
// that can be found in the LICENSE file.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
namespace xsk::gsc
|
|
|
|
{
|
|
|
|
|
|
|
|
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::gsc
|