zxing-cpp 0.5.1

A rust wrapper for the zxing-cpp barcode library.
Documentation
/*
* Copyright 2016 Huy Cuong Nguyen
* Copyright 2016 ZXing authors
*/
// SPDX-License-Identifier: Apache-2.0

#pragma once

#include "TritMatrix.h"

namespace ZXing {

class BitArray;

namespace QRCode {

enum class ErrorCorrectionLevel;
class Version;

constexpr int NUM_MASK_PATTERNS = 8;

void BuildMatrix(const BitArray& dataBits, ErrorCorrectionLevel ecLevel, const Version& version, int maskPattern, TritMatrix& matrix);

} // QRCode
} // ZXing