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

Function tableContainsRune

code128/encode.go:46–48  ·  view source on GitHub ↗
(table string, r rune)

Source from the content-addressed store, hash-verified

44}
45
46func tableContainsRune(table string, r rune) bool {
47 return strings.ContainsRune(table, r) || r == FNC1 || r == FNC2 || r == FNC3 || r == FNC4
48}
49
50func shouldUseATable(nextRunes []rune, curEncoding byte) bool {
51 nextRune := nextRunes[0]

Callers 1

shouldUseATableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected