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

Function write_header

src/serializers/GltfSerializer.cpp:399–403  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

397
398template <uint32_t iden>
399void write_header(std::ostream& fs, uint32_t N) {
400 uint32_t padding = padding_for(N);
401 uint32_t header[] = { N + padding, iden };
402 fs.write((const char*)header, sizeof(header));
403}
404
405template <uint32_t iden, typename It>
406void write_block(std::ostream& fs, It begin, It end) {

Callers

nothing calls this directly

Calls 2

padding_forFunction · 0.85
writeMethod · 0.45

Tested by

no test coverage detected