Template Class output_vector_adapter

Inheritance Relationships

Base Types

  • public nlohmann::detail::output_adapter_protocol< CharType >

  • public nlohmann::detail::output_adapter_protocol< CharType >

Class Documentation

template<typename CharType>
class output_vector_adapter : public nlohmann::detail::output_adapter_protocol<CharType>, public nlohmann::detail::output_adapter_protocol<CharType>

output adapter for byte vectors

Public Functions

inline explicit output_vector_adapter(std::vector<CharType> &vec) noexcept
inline void write_character(CharType c) override
inline void write_characters(const CharType *s, std::size_t length) override
inline explicit output_vector_adapter(std::vector<CharType> &vec) noexcept
inline void write_character(CharType c) override
inline void write_characters(const CharType *s, std::size_t length) override