int main()
{ // fix-sized buffer initialized with 33 '?' and a null terminator:
constexpr int len = 33;
char buf[len+1]{};
for (int i = 0; i < len; ++i) buf[i] = '?';
std::println("buf: {:?}", buf);
// create a span stream to the whole static char buffer:
std::ospanstream strBuf{buf};