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

Function write_padding

src/serializers/GltfSerializer.cpp:391–396  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

389
390template <uint32_t iden>
391void write_padding(std::ostream& fs, uint32_t N) {
392 uint32_t padding = padding_for(N);
393 for (uint32_t i = 0; i < padding; ++i) {
394 fs.put(padding_char<iden>::value);
395 }
396}
397
398template <uint32_t iden>
399void write_header(std::ostream& fs, uint32_t N) {

Callers

nothing calls this directly

Calls 2

padding_forFunction · 0.85
putMethod · 0.80

Tested by

no test coverage detected