// #pragma once // #include // #include "commons/commons_inline_vec.h" // #include "commons/commons_mem.h" // #include "commons/commons_minmax.h" // #include "commons/commons_base.h" // template // using inline_string = inline_vec; // template // INLINE void InlineString_Assign(inline_string& self, byteview src) // { // uint64_t n = Min(src.size, Capacity); // if (n) // MemCpy(self.data.data, src.data, n); // self.size = n; // } // template // INLINE void InlineString_AppendSuffix(inline_string& self, byteview suffix) // { // InlineVec_Append(self, suffix); // } // template // void InlineString_AsciiToUpper(inline_string& self) // { // for (uint32_t i = 0; i < self.size; ++i) { // uint8_t& ch = self[i]; // if (ch >= 'a' && ch <= 'z') // ch = ch - ('a' - 'A'); // } // }