31 SStringBuilder(
const SStringBuilder &builder);
32 SStringBuilder(SStringBuilder &&builder)
noexcept;
33 explicit SStringBuilder(
size_t buffer_size);
37 [[nodiscard]]
const uint32_t *data()
const;
38 [[nodiscard]]
size_t size()
const;
39 [[nodiscard]]
size_t cap()
const;
41 [[nodiscard]]
bool null()
const;
42 [[nodiscard]]
bool emtpy()
const;
44 bool reserve(
size_t size);
47 int32_t find(
const char *str)
const;
48 [[nodiscard]] int32_t find(
const SStringView &str)
const;
49 void append(
const char *str);
58 [[nodiscard]]
SChar at(
size_t index)
const;
59 void set(
size_t index,
SChar ch);
60 void remove(
size_t index);
61 void remove(
size_t begin,
size_t len);
62 void substring(
size_t begin);
63 void substring(
size_t begin,
size_t len);
64 void insert(
size_t index,
SChar ch);
65 void insert(
size_t index,
const char *str);
67 void replace(
size_t begin,
size_t len,
const char *str);
68 void replace(
size_t begin,
size_t len,
const SStringView &str);
70 [[nodiscard]]
SString toString()
const;
74 uint32_t *_data =
nullptr;