Function rdf4cpp::writer::write_str¶
Defined in File BufWriter.hpp
Function Documentation¶
-
inline bool rdf4cpp::writer::write_str(std::string_view str, BufWriterParts const writer) noexcept¶
Serializes the given string as is
See also
Node::serialize for more details on the signature/usage
Note
for maintainers, this function is defined in the header because that makes serialization measurably faster
- Parameters:
str – string to write
writer – writer writer
- Returns:
true if serialization was successful, false if a call to flush was not able to make room