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

Function Encode

code39/encoder.go:156–158  ·  view source on GitHub ↗

Encode returns a code39 barcode for the given content if includeChecksum is set to true, a checksum character is calculated and added to the content

(content string, includeChecksum bool, fullASCIIMode bool)

Source from the content-addressed store, hash-verified

154// Encode returns a code39 barcode for the given content
155// if includeChecksum is set to true, a checksum character is calculated and added to the content
156func Encode(content string, includeChecksum bool, fullASCIIMode bool) (barcode.BarcodeIntCS, error) {
157 return EncodeWithColor(content, includeChecksum, fullASCIIMode, barcode.ColorScheme16)
158}

Callers 1

doTestFunction · 0.70

Calls 1

EncodeWithColorFunction · 0.70

Tested by 1

doTestFunction · 0.56