bsa::write_sink class final

An abstraction over the specific sink that will be written to.

Constructors, destructors, conversion operators

write_sink(std::filesystem::path a_path)
write_sink(binary_io::any_ostream& a_dst) noexcept

Function documentation

bsa::write_sink::write_sink(std::filesystem::path a_path)

Parameters
a_path The path to write to on the native filesystem.
Exceptions
std::system_error Thrown when filesystem errors are encountered.

bsa::write_sink::write_sink(binary_io::any_ostream& a_dst) noexcept

Parameters
a_dst The stream to write the archive to.