ready for file saving dev

This commit is contained in:
2023-08-28 14:18:58 +08:00
parent 76be4dd8d2
commit f0657b1656
6 changed files with 159 additions and 10 deletions

View File

@ -119,6 +119,11 @@ namespace LibCmo {
const char* c_str() const {
return m_HasStr ? m_Str.c_str() : nullptr;
}
const size_t size() const {
return m_HasStr ? m_Str.size() : 0u;
}
private:
bool m_HasStr;
std::string m_Str;