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

Function padding_for

src/serializers/GltfSerializer.cpp:386–388  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

384const char padding_char<BIN>::value = '\x00';
385
386uint32_t padding_for(uint32_t length) {
387 return ((4 - (length % 4)) % 4);
388}
389
390template <uint32_t iden>
391void write_padding(std::ostream& fs, uint32_t N) {

Callers 3

write_paddingFunction · 0.85
write_headerFunction · 0.85
finalizeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected