MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / encodeBinary

Method encodeBinary

Libraries/QRCode/tests/QrCode.cpp:51–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49
50
51qrcodegen::QrCode qrcodegen::QrCode::encodeBinary(const std::vector<uint8_t> &data, const Ecc &ecl) {
52 std::vector<QrSegment> segs;
53 segs.push_back(QrSegment::makeBytes(data));
54 return encodeSegments(segs, ecl);
55}
56
57
58qrcodegen::QrCode qrcodegen::QrCode::encodeSegments(const std::vector<QrSegment> &segs, const Ecc &ecl,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected