Struct BufOStreamWriter

Inheritance Relationships

Base Type

Struct Documentation

struct BufOStreamWriter : public rdf4cpp::writer::BufWriterBase<BufOStreamWriter, OStreamBuffer>

A serializer that serializes to an std::ostream. It is advisable to set the associated stream buffer to nullptr because this serializer has an internal buffer.

Implements BufWriter

Public Types

using Buffer = OStreamBuffer

Public Functions

inline explicit constexpr BufOStreamWriter(std::ostream &os) noexcept
inline bool finalize()

Public Static Functions

static inline void flush_impl(Buffer &buffer, char *&write_area, size_t &write_area_size, [[maybe_unused]] size_t additional_cap) noexcept