MCPcopy Create free account
hub / github.com/boombuler/barcode / New1DCodeIntCheckSumWithColor

Function New1DCodeIntCheckSumWithColor

utils/base1dcode.go:60–62  ·  view source on GitHub ↗

New1DCodeIntCheckSum creates a new 1D barcode where the bars are represented by the bits in the bars BitList

(codeKind, content string, bars *BitList, checksum int, color barcode.ColorScheme)

Source from the content-addressed store, hash-verified

58
59// New1DCodeIntCheckSum creates a new 1D barcode where the bars are represented by the bits in the bars BitList
60func New1DCodeIntCheckSumWithColor(codeKind, content string, bars *BitList, checksum int, color barcode.ColorScheme) barcode.BarcodeIntCS {
61 return &base1DCodeIntCS{base1DCode{bars, codeKind, content, color}, checksum}
62}
63
64// New1DCode creates a new 1D barcode where the bars are represented by the bits in the bars BitList
65func New1DCode(codeKind, content string, bars *BitList) barcode.Barcode {

Callers 3

EncodeWithColorFunction · 0.92
EncodeWithColorFunction · 0.92
EncodeWithColorFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected