datamatrix error correction passes

This commit is contained in:
Henry Schimke
2022-11-05 16:36:47 -05:00
parent 128e8f8fe9
commit 5d906edbde
5 changed files with 283 additions and 217 deletions

View File

@@ -568,7 +568,7 @@ fn encodeHighLevelCompare(msg: &str, compareSizeToMinimalEncoder: bool) -> Strin
* @param codewords the codewords
* @return the visualized codewords
*/
fn visualize(codewords: &str) -> String {
pub fn visualize(codewords: &str) -> String {
let mut sb = String::new();
for i in 0..codewords.chars().count() {
// for (int i = 0; i < codewords.length(); i++) {