104 return GetUInt8() != 0;
107 uint8 GetUInt8() const noexcept;
108 int8 GetInt8() const noexcept;
109 uint16 GetUInt16() const noexcept;
110 int16 GetInt16() const noexcept;
111 uint32 GetUInt32() const noexcept;
112 int32 GetInt32() const noexcept;
113 uint64 GetUInt64() const noexcept;
114 int64 GetInt64() const noexcept;
115 float GetFloat() const noexcept;
116 double GetDouble() const noexcept;
118 char const* GetCString() const noexcept;
119 std::
string GetString() const noexcept;
120 std::string_view GetStringView() const noexcept;
121 std::vector<
uint8> GetBinary() const noexcept;
122 std::span<
uint8 const> GetBinaryView() const noexcept;
126 std::array<uint8, S> buf;
127 GetBinarySizeChecked(buf.data(), S);
133 return _value ==
nullptr;
144 Optional<
float> GetFloatOrNull() const noexcept;
145 Optional<
double> GetDoubleOrNull() const noexcept;
147 Optional<
std::
string> GetStringOrNull() const noexcept;
148 Optional<
std::string_view> GetStringViewOrNull() const noexcept;
156 GetBinarySizeChecked(buf.emplace().data(), S);
164 void SetValue(
char const* newValue,
uint32 length);
169 void GetBinarySizeChecked(
uint8* buf,
size_t size)
const noexcept;