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

Function Encode

code128/encode.go:187–189  ·  view source on GitHub ↗

Encode creates a Code 128 barcode for the given content

(content string)

Source from the content-addressed store, hash-verified

185
186// Encode creates a Code 128 barcode for the given content
187func Encode(content string) (barcode.BarcodeIntCS, error) {
188 return EncodeWithColor(content, barcode.ColorScheme16)
189}
190
191func EncodeWithoutChecksum(content string) (barcode.Barcode, error) {
192 return EncodeWithoutChecksumWithColor(content, barcode.ColorScheme16)

Callers 2

testEncodeFunction · 0.70
Test_UnencodableFunction · 0.70

Calls 1

EncodeWithColorFunction · 0.70

Tested by 2

testEncodeFunction · 0.56
Test_UnencodableFunction · 0.56