rapidyaml 0.15.0
parse and emit YAML, and do it fast
Loading...
Searching...
No Matches
c4::yml::WriterBuf Struct Reference

A writer to a memory buffer, in the form of a substr. More...

#include <writer.hpp>

Public Member Functions

 WriterBuf (substr sp) noexcept
substr _get (bool error_on_excess) const
template<size_t N>
void _do_write (const char(&a)[N]) noexcept
void _do_write (csubstr s) noexcept
void _do_write (const char c) noexcept
void _do_write (const char c, size_t num_times) noexcept

Public Attributes

substr m_buf
size_t m_pos

Detailed Description

A writer to a memory buffer, in the form of a substr.

Definition at line 146 of file writer.hpp.


The documentation for this struct was generated from the following file:
  • /home/docs/checkouts/readthedocs.org/user_builds/rapidyaml/checkouts/v0.15.0/src/c4/yml/writer.hpp