datamatrix decoder (few tests)

This commit is contained in:
Henry Schimke
2022-11-22 07:22:46 -06:00
parent 8573212ef6
commit 325fdcfda0
7 changed files with 752 additions and 629 deletions

View File

@@ -166,6 +166,12 @@ impl ECIStringBuilder {
pub fn is_empty(&self) -> bool {
return self.current_bytes.is_empty() && self.result.is_empty();
}
pub fn build_result(mut self) -> Self {
self.encodeCurrentBytesIfAny();
self
}
}
impl fmt::Display for ECIStringBuilder {