| 24 | [[nodiscard]] auto view() const { return StringSpan({buffer, length}, true, StringEncoding::Native); } |
| 25 | [[nodiscard]] bool isEmpty() const { return length == 0; } |
| 26 | [[nodiscard]] auto writableSpan() { return Span<native_char_t>{buffer, N}; } |
| 27 | [[nodiscard]] bool operator==(StringSpan other) const { return view() == other; } |
| 28 | |
| 29 | void clear() |
no outgoing calls