|
|
|
|
@ -506,6 +506,26 @@ std::wstring SmallStringBase::wstring() const
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
std::span<const char> SmallStringBase::cspan() const
|
|
|
|
|
{
|
|
|
|
|
return std::span<const char>(m_buffer, m_length);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
std::span<char> SmallStringBase::span()
|
|
|
|
|
{
|
|
|
|
|
return std::span<char>(m_buffer, m_length);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
std::span<const u8> SmallStringBase::cbspan() const
|
|
|
|
|
{
|
|
|
|
|
return std::span<const u8>(reinterpret_cast<const u8*>(m_buffer), m_length);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
std::span<u8> SmallStringBase::bspan()
|
|
|
|
|
{
|
|
|
|
|
return std::span<u8>(reinterpret_cast<u8*>(m_buffer), m_length);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void SmallStringBase::vformat(fmt::string_view fmt, fmt::format_args args)
|
|
|
|
|
{
|
|
|
|
|
clear();
|
|
|
|
|
|