100struct BufferFormatter<std::string_view> : detail::BufferFormatterBase<std::string_view> {
101 using BaseType = detail::BufferFormatterBase<std::string_view>;
102 using CharFormatter = BufferFormatter<
const char*>;
104 using BaseType::BaseType;
106 template <
typename Buffer>
107 void operator()(
const UserTypes&, Buffer& buffer)
const {
108 CharFormatter::WriteN(buffer, value.data(), value.size());