32 SStringBuilder(
const SStringBuilder &builder);
33 SStringBuilder(SStringBuilder &&builder)
noexcept;
34 explicit SStringBuilder(
size_t buffer_size);
39 [[nodiscard]]
const uint32_t *data()
const;
40 [[nodiscard]]
size_t size()
const;
41 [[nodiscard]]
size_t cap()
const;
43 [[nodiscard]]
bool null()
const;
44 [[nodiscard]]
bool emtpy()
const;
46 bool reserve(
size_t size);
49 int32_t find(
const char *str)
const;
50 [[nodiscard]] int32_t find(
const SStringView &str)
const;
51 void append(
const char *str);
60 [[nodiscard]]
SChar at(
size_t index)
const;
61 void set(
size_t index,
SChar ch);
62 void remove(
size_t index);
63 void remove(
size_t begin,
size_t len);
64 void substring(
size_t begin);
65 void substring(
size_t begin,
size_t len);
66 void insert(
size_t index,
SChar ch);
67 void insert(
size_t index,
const char *str);
69 void replace(
size_t begin,
size_t len,
const char *str);
70 void replace(
size_t begin,
size_t len,
const SStringView &str);
72 [[nodiscard]]
SString toString()
const;
76 uint32_t *_data =
nullptr;