| 34 | /// @return `true` if the conversion succeeds |
| 35 | template <typename T> |
| 36 | [[nodiscard]] static bool appendEncodingTo(StringEncoding encoding, StringSpan text, T& buffer, |
| 37 | StringTermination nullTerminate) |
| 38 | { |
| 39 | GrowableBuffer<T> growableBuffer{buffer}; |
| 40 | return appendEncodingTo(encoding, text, static_cast<IGrowableBuffer&>(growableBuffer), nullTerminate); |
| 41 | } |
| 42 | |
| 43 | [[nodiscard]] static bool appendEncodingTo(StringEncoding encoding, StringSpan text, IGrowableBuffer& buffer, |
| 44 | StringTermination nullTerminate); |
no outgoing calls