Add checksum calculation to relevant barcode types
This commit is contained in:
1 parent
63f4aa2c46
commit
7435af80e5
10 files changed
+36
-10
No files matched your search
@@ -40,6 +40,10 @@ func (c *datamatrixCode) At(x, y int) color.Color {
|
||||
return color.White
|
||||
}
|
||||
|
||||
func (c *datamatrixCode) CheckSum() int {
|
||||
return 0
|
||||
}
|
||||
|
||||
func (c *datamatrixCode) get(x, y int) bool {
|
||||
return c.GetBit(x*c.Rows + y)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user