File: BitArrayUtility.h

package info (click to toggle)
zxing-cpp 1.4.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 4,860 kB
  • sloc: cpp: 49,035; python: 150; javascript: 31; makefile: 11
file content (16 lines) | stat: -rw-r--r-- 316 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#pragma once

#include <string>
#include <string_view>

namespace ZXing {

class BitArray;

namespace Utility {
    
	std::string ToString(const BitArray& arr, char one, char zero);
	std::string ToString(const BitArray& BitArray);
	BitArray ParseBitArray(std::string_view str, char one = 'X');

}} // ZXing::Utility