MCPcopy Create free account
hub / github.com/biometrics/openbr / writeUniversalTemplate

Method writeUniversalTemplate

openbr/openbr_plugin.cpp:522–527  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

520}
521
522void Template::writeUniversalTemplate(QFile &file, br_const_utemplate t)
523{
524 const qint64 size = sizeof(br_universal_template) + t->mdSize + t->fvSize;
525 if (file.write((const char *) t, size) != size)
526 qFatal("Failed to write universal template!");
527}
528
529void Template::freeUniversalTemplate(br_const_utemplate t)
530{

Callers

nothing calls this directly

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected