Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boombuler/barcode
/ DataCodewords
Method
DataCodewords
datamatrix/codesize.go:28–30 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
26
}
27
28
func
(s *dmCodeSize) DataCodewords() int {
29
return
((s.MatrixColumns() * s.MatrixRows()) / 8) - s.ECCCount
30
}
31
32
func
(s *dmCodeSize) DataCodewordsForBlock(idx int) int {
33
if
s.Rows == 144 && s.Columns == 144 {
Callers
4
DataCodewordsForBlock
Method · 0.95
EncodeWithColor
Function · 0.95
Test_CalcECC
Function · 0.80
Test_Issue12
Function · 0.80
Calls
2
MatrixColumns
Method · 0.95
MatrixRows
Method · 0.95
Tested by
2
Test_CalcECC
Function · 0.64
Test_Issue12
Function · 0.64