MCPcopy Create free account
hub / github.com/IfcOpenShell/IfcOpenShell / write_block

Function write_block

src/serializers/GltfSerializer.cpp:406–411  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

404
405template <uint32_t iden, typename It>
406void write_block(std::ostream& fs, It begin, It end) {
407 uint32_t N = std::distance(begin, end);
408 write_header<iden>(fs, N);
409 fs.write((const char*)&*begin, N);
410 write_padding<iden>(fs, N);
411}
412
413void GltfSerializer::finalize() {
414 // separate z up

Callers

nothing calls this directly

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected