mirror of
https://github.com/Jous99/F4MP.git
synced 2026-01-13 03:40:54 +01:00
19 lines
279 B
C++
19 lines
279 B
C++
#pragma once
|
|
|
|
struct BSString
|
|
{
|
|
BSString()
|
|
: data{nullptr}
|
|
, length{0}
|
|
, capacity{0}
|
|
{
|
|
}
|
|
~BSString();
|
|
|
|
[[nodiscard]] const char* AsAscii() { return data; }
|
|
|
|
private:
|
|
const char* data;
|
|
uint16_t length;
|
|
uint16_t capacity;
|
|
};
|