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