stdxgit.sr.ht/~pingoo/stdx/barcode/twooffive Index | Files

package twooffive

import "git.sr.ht/~pingoo/stdx/barcode/twooffive"

Package twooffive can create interleaved and standard "2 of 5" barcodes.

Index

Functions

func AddCheckSum

func AddCheckSum(content string) (string, error)

AddCheckSum calculates the correct check-digit and appends it to the given content.

func Encode

func Encode(content string, interleaved bool) (barcode.Barcode, error)

Encode creates a codabar barcode for the given content

Source Files

encoder.go

Version
v0.0.0-20240218134121-094174641f6e (latest)
Published
Feb 18, 2024
Platform
linux/amd64
Imports
4 packages
Last checked
4 months ago

Tools for package owners.