MCPcopy 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
28func (s *dmCodeSize) DataCodewords() int {
29 return ((s.MatrixColumns() * s.MatrixRows()) / 8) - s.ECCCount
30}
31
32func (s *dmCodeSize) DataCodewordsForBlock(idx int) int {
33 if s.Rows == 144 && s.Columns == 144 {

Callers 4

DataCodewordsForBlockMethod · 0.95
EncodeWithColorFunction · 0.95
Test_CalcECCFunction · 0.80
Test_Issue12Function · 0.80

Calls 2

MatrixColumnsMethod · 0.95
MatrixRowsMethod · 0.95

Tested by 2

Test_CalcECCFunction · 0.64
Test_Issue12Function · 0.64