partial success on parse, missing symbology id

This commit is contained in:
Henry Schimke
2023-04-22 16:17:05 -05:00
parent 789719d3eb
commit bec7c99dbb
11 changed files with 34 additions and 18 deletions

View File

@@ -428,7 +428,7 @@ pub fn Decode(bits: &BitMatrix) -> Result<DecoderResult<bool>> {
}
// resultIterator = std::copy_n(codewordBytes.begin(), numDataCodewords, resultIterator);
resultBytes[resultIterator..numDataCodewords]
resultBytes[resultIterator..(resultIterator+numDataCodewords)]
.copy_from_slice(&codewordBytes[..numDataCodewords]);
resultIterator += numDataCodewords;
}