Allow passing buffer to serializers that support it

This commit is contained in:
Thomas Krijnen
2026-05-09 21:03:15 +02:00
parent 0d8e9f0edc
commit 2eb2d65710
7 changed files with 88 additions and 2 deletions
+1
View File
@@ -282,6 +282,7 @@ public:
stream_or_filename(const std::string& fn)
: ofs_(new std::ofstream(ifcopenshell::path::from_utf8(fn).c_str()))
, filename_(fn)
, stream(*ofs_)
{}