17 return Write(text.data(), text.size());
25 for (
const auto& line : lines)
27 if (
Write(line.data(), line.size()) != line.size())
29 if (
Write(endline.data(), endline.size()) != endline.size())
static std::string EndLine()
Get text end line separator.
virtual size_t Write(const void *buffer, size_t size)=0
Write a byte buffer base method.
Environment management definition.
C++ Common project definitions.
Writer interface definition.